Skip to content

Commit fbe69ca

Browse files
committed
fix: Implement sidebar as sticky
1 parent 91ab1c1 commit fbe69ca

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/generic/sidebar/index.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
.sidebar {
2+
position: sticky;
3+
top: 0;
4+
align-self: flex-start;
5+
max-height: 100vh;
6+
27
.sidebar-content {
38
flex: 0 1 auto;
49
min-width: 440px;
510
overflow-y: auto;
6-
min-height: 100vh;
7-
height: 100%;
8-
max-height: 300vh;
11+
height: 100vh;
12+
max-height: 100vh;
913

1014
/*
1115
* Change the styles for tabs in all sidebars.

0 commit comments

Comments
 (0)