瀏覽代碼

enhance(mobile): replace mobile bar icons

leizhe 3 年之前
父節點
當前提交
00485d1129
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/frontend/components/editor.cljs

+ 3 - 3
src/main/frontend/components/editor.cljs

@@ -217,20 +217,20 @@
 (rum/defc mobile-bar < rum/reactive
 (rum/defc mobile-bar < rum/reactive
   [parent-state parent-id]
   [parent-state parent-id]
   [:div#mobile-editor-toolbar.bg-base-2.fix-ios-fixed-bottom
   [:div#mobile-editor-toolbar.bg-base-2.fix-ios-fixed-bottom
-   [:div.flex.justify-evenly.w-full
+   [:div.flex.justify-around.w-full
     [:div
     [:div
      [:button.bottom-action
      [:button.bottom-action
       {:on-mouse-down (fn [e]
       {:on-mouse-down (fn [e]
                         (util/stop e)
                         (util/stop e)
                         (editor-handler/indent-outdent true))}
                         (editor-handler/indent-outdent true))}
-      (ui/icon "indent-increase"
+      (ui/icon "arrow-bar-right"
                {:style {:fontSize ui/icon-size}})]]
                {:style {:fontSize ui/icon-size}})]]
     [:div
     [:div
      [:button.bottom-action
      [:button.bottom-action
       {:on-mouse-down (fn [e]
       {:on-mouse-down (fn [e]
                         (util/stop e)
                         (util/stop e)
                         (editor-handler/indent-outdent false))}
                         (editor-handler/indent-outdent false))}
-      (ui/icon "indent-decrease"
+      (ui/icon "arrow-bar-left"
                {:style {:fontSize ui/icon-size}})]]
                {:style {:fontSize ui/icon-size}})]]
     [:div
     [:div
      [:button.bottom-action
      [:button.bottom-action