diff --git a/src/main/frontend/components/header.cljs b/src/main/frontend/components/header.cljs index c18506834f..22dee5b5ac 100644 --- a/src/main/frontend/components/header.cljs +++ b/src/main/frontend/components/header.cljs @@ -354,7 +354,7 @@ (mobile-util/native-platform?) (util/scroll-to-top true)))) :style {:fontSize 50}} - [:div.l.flex.drag-region + [:div.l.flex.items-center.drag-region [left-menu (if (mobile-util/native-platform?) ;; back button for mobile diff --git a/src/main/frontend/ui.cljs b/src/main/frontend/ui.cljs index ffb9bdb482..165e95e80c 100644 --- a/src/main/frontend/ui.cljs +++ b/src/main/frontend/ui.cljs @@ -908,8 +908,9 @@ (rum/defc with-shortcut < rum/reactive < {:key-fn (fn [key pos] (str "shortcut-" key pos))} [shortcut-key position content] - (let [tooltip? (state/sub :ui/shortcut-tooltip?)] - (if tooltip? + (let [shortcut-tooltip? (state/sub :ui/shortcut-tooltip?) + enabled-tooltip? (state/enable-tooltip?)] + (if (and enabled-tooltip? shortcut-tooltip?) (tippy {:html [:div.text-sm.font-medium (keyboard-shortcut-from-config shortcut-key)] :interactive true