Skip to content

Commit c7d70be

Browse files
pranshuchittoraEugeneHlushko
authored andcommitted
Fixes the unscrollable sidebar (#2859)
1 parent 06ed397 commit c7d70be

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/components/Sidebar/Sidebar.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@
1717
padding: 1.5em;
1818
position: sticky;
1919
top: -1px;
20-
overflow: hidden;
20+
overflow: scroll;
21+
max-height: 100vh;
22+
// To hide scrollbar in Firefox
23+
scrollbar-width: none;
24+
// To hide scrollbar in Chrome
25+
&::-webkit-scrollbar {
26+
width: 0 !important;
27+
}
2128
}
2229

2330
.sidebar__group {

0 commit comments

Comments
 (0)