1
0
Эх сурвалжийг харах

disable sidebar pane conetnt scrolling

Konstantinos Kaloutas 2 жил өмнө
parent
commit
f04fcf4abf

+ 1 - 0
src/main/frontend/components/container.css

@@ -641,6 +641,7 @@ html[data-theme='dark'] {
 
     &.drag-over {
       &::after {
+        z-index: 1000;
         background-color: var(--ls-active-primary-color);
       }
     }

+ 1 - 1
src/main/frontend/components/right_sidebar.cljs

@@ -417,7 +417,7 @@
                                                                        (state/sidebar-add-block! repo "history" :history))}
             (t :right-side-bar/history)]])]]
 
-      [:.sidebar-item-list.flex-1.scrollbar-spacing.flex.flex-col.mx-2
+      [:.sidebar-item-list.flex-1.scrollbar-spacing.ml-2.pr-3
        (if @*anim-finished?
          (for [[idx [repo db-id block-type]] (medley/indexed blocks)]
            (rum/with-key

+ 8 - 3
src/main/frontend/components/right_sidebar.css

@@ -17,7 +17,8 @@ html[data-theme=light] {
 
 .sidebar-item-list {
   margin-top: -8px;
-  height: calc(100vh - 40px);
+  padding-bottom: 150px;
+  height: calc(100vh - 48px);
 }
 
 
@@ -30,8 +31,12 @@ html[data-theme=light] a.toggle:hover {
     color: var(--ls-header-button-background);
 }
 
-.cp__right-sidebar-topbar button {
-  opacity: 1;
+.cp__right-sidebar-topbar {
+  background-color: var(--ls-primary-background-color);
+
+  button {
+    opacity: 1;
+  }
 }
 
 html[data-theme=dark] {