mirror of https://github.com/logseq/logseq
fix: no scrollbar when open the right sidebar
parent
55b68cbc51
commit
43b704b5d4
|
@ -1143,3 +1143,7 @@ html[data-theme='dark'] .keyboard-shortcut > code {
|
|||
.ui__modal-panel {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.overflow-y-scroll {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
|
|
@ -341,7 +341,7 @@
|
|||
:route-match route-match})
|
||||
[:div.#app-container.h-screen.flex
|
||||
[:div.flex-1.h-full.flex.flex-col#left-container.relative
|
||||
{:class (if (state/sub :ui/sidebar-open?) "overflow-hidden" "w-full")}
|
||||
{:class (if (state/sub :ui/sidebar-open?) "overflow-y-scroll" "w-full")}
|
||||
[:div.scrollbar-spacing#main-container
|
||||
(header/header {:open-fn open-fn
|
||||
:white? white?
|
||||
|
|
Loading…
Reference in New Issue