瀏覽代碼

fix: align top new graph dialog

Tienson Qin 5 月之前
父節點
當前提交
9d7d766ca4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/frontend/handler/events/ui.cljs

+ 1 - 0
src/main/frontend/handler/events/ui.cljs

@@ -250,6 +250,7 @@
    repo/new-db-graph
    repo/new-db-graph
    {:id :new-db-graph
    {:id :new-db-graph
     :title [:h2 "Create a new graph"]
     :title [:h2 "Create a new graph"]
+    :align (if (util/mobile?) :top :center)
     :style {:max-width "500px"}}))
     :style {:max-width "500px"}}))
 
 
 (defmethod events/handle :dialog-select/graph-open []
 (defmethod events/handle :dialog-select/graph-open []