Skip to content

Commit

Permalink
fix(ui): height of right sidebar items container
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Nov 12, 2021
1 parent 5313b36 commit 104eb0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/frontend/components/right_sidebar.cljs
Expand Up @@ -247,7 +247,7 @@
:margin-right 2}}
(toggle)]]

[:.sidebar-item-list.flex-1.scrollbar-spacing {:style {:height "100vh"}}
[:.sidebar-item-list.flex-1.scrollbar-spacing
(if @*anim-finished?
(for [[idx [repo db-id block-type block-data]] (medley/indexed blocks)]
(rum/with-key
Expand Down
5 changes: 3 additions & 2 deletions src/main/frontend/components/right_sidebar.css
Expand Up @@ -12,10 +12,11 @@ html[data-theme=light] {
}

.sidebar-item-list {
padding-bottom: 150px;
padding-bottom: 150px;
height: calc(100vh - 48px);
}


html[data-theme='light'] a.toggle:hover {
color: var(--ls-primary-text-color);
color: var(--ls-primary-text-color);
}

0 comments on commit 104eb0e

Please sign in to comment.