소스 검색

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"