Skip to content

Commit 3206e75

Browse files
committed
fix: only show y scrollbar when needed in sidebar
By setting `scroll` rather than `auto` scrollbar is shown even when there is no overflow
1 parent 1640311 commit 3206e75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/assets/stylesheets/Sidebar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
.sidebar__panel-content {
128128
flex: 1;
129129
padding: $space-1 0;
130-
overflow-y: scroll;
130+
overflow-y: auto;
131131
scrollbar-width: thin;
132132
}
133133

0 commit comments

Comments
 (0)