Skip to content

Commit 976446b

Browse files
committed
add block-size 0 to avoid a long sidebar causing a scrollbar despite being closed
1 parent 0518a17 commit 976446b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/devtools/components/sidebar/Sidebar.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
.sidebar.closed {
3232
inline-size: 0;
33+
block-size: 0;
3334
border-inline-end: none;
3435
}
3536

0 commit comments

Comments
 (0)