1
0
Tienson Qin 3 жил өмнө
parent
commit
5a245fce7a

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

@@ -242,7 +242,7 @@
                                       (.. target -classList (contains "cp__header")))
                              (js/window.apis.toggleMaxOrMinActiveWindow))))
       :style           {:fontSize  50}}
-     [:div.l.flex.gap-1
+     [:div.l.flex
       (when-not (mobile-util/native-platform?)
         [left-menu
          (when current-repo ;; this is for the Search button
@@ -261,7 +261,7 @@
              {:title "Go back" :on-click #(js/window.history.back)}
              (ui/icon "chevron-left" {:style {:fontSize 25}})])))]
 
-     [:div.r.flex.gap-1
+     [:div.r.flex
       (when-not file-sync-handler/hiding-login&file-sync
         (file-sync))
       (when-not file-sync-handler/hiding-login&file-sync

+ 4 - 0
src/main/frontend/components/header.css

@@ -53,6 +53,10 @@
     }
   }
 
+  .ui-items-container .button {
+    width: 2rem;
+  }
+
   svg.warning {
     transform: scale(0.6);
     color: red;