Parcourir la source

fix: light theme background

closed 644
Tienson Qin il y a 5 ans
Parent
commit
c1acca2431
1 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 3 4
      src/main/frontend/components/sidebar.cljs

+ 3 - 4
src/main/frontend/components/sidebar.cljs

@@ -101,7 +101,6 @@
     [:div.flex-1.h-0.overflow-y-auto
      (sidebar-nav route-match close-fn)]]])
 
-
 (rum/defc sidebar-main
   [{:keys [route-match global-graph-pages? logged? home? route-name indexeddb-support? white? db-restoring? main-content]}]
   (rum/with-context [[t] i18n/*tongue-context*]
@@ -326,7 +325,7 @@
                                 :close-fn close-fn
                                 :route-match route-match})
 
-       [:div.cp__sidebar-layout
+       [:div.cp__sidebar-layout.h-screen
         (header/header {:open-fn open-fn
                         :white? white?
                         :current-repo current-repo
@@ -352,7 +351,7 @@
        (custom-context-menu)
        [:a#download.hidden]
        (when (and (not config/mobile?)
-                 (not config/publishing?))
+                  (not config/publishing?))
          [(help-button)
          ;; [:div.font-bold.absolute.bottom-4.bg-base-2.rounded-full.h-8.w-8.flex.items-center.justify-center.font-bold.cursor.opacity-70.hover:opacity-100
          ;;  {:style {:left 24}
@@ -360,4 +359,4 @@
          ;;   :on-click (fn []
          ;;               (state/set-left-sidebar-open! (not (state/get-left-sidebar-open))))}
          ;;  (if (state/sub :ui/left-sidebar-open?) "<" ">")]
-          ])])))
+])])))