瀏覽代碼

improve(ui): right sidebar visibility based on response layout

charlie 2 年之前
父節點
當前提交
94336babcf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/frontend/components/right_sidebar.cljs

+ 1 - 1
src/main/frontend/components/right_sidebar.cljs

@@ -24,7 +24,7 @@
 
 (rum/defc toggle
   []
-  (when-not (util/mobile?)
+  (when-not (util/sm-breakpoint?)
     (ui/with-shortcut :ui/toggle-right-sidebar "left"
       [:button.button.icon.toggle-right-sidebar
        {:title "Toggle right sidebar"