Browse Source

fix(android): toolbar/date command not shown

Andelf 3 years ago
parent
commit
0c1bcb3853
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/mobile/mobile_bar.cljs

+ 1 - 1
src/main/frontend/mobile/mobile_bar.cljs

@@ -51,7 +51,7 @@
                         (let [target (gdom/getNextElementSibling (gdom/getParentElement (.-target event)))]
                           (dom/add-class! target "show-submenu")))}
       (ui/icon "calendar" {:size ui/icon-size})]
-     [:div.submenu.fixed.left-0.hidden.w-full.flex-row.justify-evenly.items-center
+     [:div.submenu.fixed.left-0.bottom-0.hidden.w-full.flex-row.justify-evenly.items-center
       {:style {:bottom @util/keyboard-height}}
       (command-cp #(let [today (page-handler/get-page-ref-text (date/today))]
                      (commands/simple-insert! parent-id today {}))