Skip to content

Commit 4d60b7f

Browse files
committed
Remove scrollbars when not needed
I forgot that, on Windows devices, `overflow: scroll;` will always force scrollbars even if they’re not needed. `auto` solves that.
1 parent 343c7a0 commit 4d60b7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
color: #829396;
172172
white-space: pre;
173173
border-radius: 4px;
174-
overflow: scroll;
174+
overflow: auto;
175175
text-transform: none;
176176
padding-right: 2.5em;
177177
}

0 commit comments

Comments
 (0)