disable sidebar pane conetnt scrolling

pull/10072/head
Konstantinos Kaloutas 2023-08-21 18:59:50 +03:00 committed by Tienson Qin
parent 90bbd03c45
commit f04fcf4abf
3 changed files with 10 additions and 4 deletions

View File

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

View File

@ -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

View File

@ -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] {