enhance(mobile): remove search button in the left sidebar

pull/3198/head
Tienson Qin 2021-11-30 11:15:02 +08:00
parent 0990b3a988
commit aa00c0364a
1 changed files with 1 additions and 6 deletions

View File

@ -308,12 +308,7 @@
(header/left-menu-button
{:on-click (fn []
(state/set-left-sidebar-open!
(not (:ui/left-sidebar-open? @state/state))))})
(ui/with-shortcut :go/search "right"
[:a.button#search-button-mobile
{:on-click #(state/pub-event! [:go/search])}
(ui/icon "search" {:style {:fontSize ui/icon-size}})])]])
(not (:ui/left-sidebar-open? @state/state))))})]])
[:div.flex-1.h-0.overflow-y-auto
(sidebar-nav route-match close-fn)]]])