Skip to content

Commit c5ee9a2

Browse files
authored
fix: showing scrollbar even when there is no overflow in sidebar (#1218)
## Summary Fix issue introduced in [here](https://github.com/RaspberryPiFoundation/editor-ui/pull/1216/files#diff-ca3efa6151de5b9eb9e9ec3815456a513b350a25fa6e7819a647bc503bf670bdL131), Perm scrollbars: ![Screenshot 2025-06-17 at 15 45 31](https://github.com/user-attachments/assets/ab6e886b-137c-4cfe-a2f4-412823bdd9b2) Auto should mean that scrollbar is only shown when needed
1 parent e3f8522 commit c5ee9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)