Quellcode durchsuchen

fix(ui): left menu style

Andelf vor 3 Jahren
Ursprung
Commit
6ca7424bbf
1 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. 9 9
      src/main/frontend/components/header.cljs

+ 9 - 9
src/main/frontend/components/header.cljs

@@ -245,15 +245,15 @@
       :style           {:fontSize  50}}
      [:div.l.flex
       (when-not (mobile-util/native-platform?)
-        left-menu
-        (when current-repo ;; this is for the Search button
-          (ui/with-shortcut :go/search "right"
-            [:a.button#search-button
-             {:on-click #(do (when (or (mobile-util/native-android?)
-                                       (mobile-util/native-iphone?))
-                               (state/set-left-sidebar-open! false))
-                             (state/pub-event! [:go/search]))}
-             (ui/icon "search" {:style {:fontSize ui/icon-size}})])))
+        [left-menu
+         (when current-repo ;; this is for the Search button
+           (ui/with-shortcut :go/search "right"
+             [:a.button#search-button
+              {:on-click #(do (when (or (mobile-util/native-android?)
+                                        (mobile-util/native-iphone?))
+                                (state/set-left-sidebar-open! false))
+                              (state/pub-event! [:go/search]))}
+              (ui/icon "search" {:style {:fontSize ui/icon-size}})]))])
       (when (mobile-util/native-platform?)
         (if (state/home?)
           left-menu