Skip to content

Commit 767008f

Browse files
committed
Sidebar now scrolls independently, so long threads don’t trap the sidebar until the main content reaches its end
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
1 parent 9c4eaf7 commit 767008f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/assets/stylesheets/components/sidebar.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
position: sticky;
33
top: calc(var(--nav-height) + var(--spacing-5));
44
align-self: start;
5+
max-height: calc(100vh - var(--nav-height) - var(--spacing-5));
6+
overflow-y: auto;
7+
padding-right: var(--spacing-2);
58
}
69

710
.sidebar-section {

0 commit comments

Comments
 (0)