Skip to content

Commit 164ec7a

Browse files
authored
show scrollbar for sidebar (#6839)
* show scrollbar for sidebar * Update src/components/Sidebar/Sidebar.scss * Update src/components/Sidebar/Sidebar.scss
1 parent cc71643 commit 164ec7a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/Sidebar/Sidebar.scss

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,8 @@
1717
padding: 1.5em;
1818
position: sticky;
1919
top: -1px;
20-
overflow: scroll;
20+
overflow-y: auto;
2121
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-
}
2822
}
2923

3024
.sidebar__group {

0 commit comments

Comments
 (0)