Skip to content

Commit c2af407

Browse files
committed
Fixes CodeMirror ScrollBars
1 parent d32e682 commit c2af407

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

site/_css/codemirror.less

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,8 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
178178
z-index: 6;
179179
display: none;
180180
}
181-
.CodeMirror-vscrollbar {
182-
right: 0; top: 0;
183-
overflow-x: hidden;
184-
overflow-y: scroll;
185-
}
186-
.CodeMirror-hscrollbar {
187-
bottom: 0; left: 0;
188-
overflow-y: hidden;
189-
overflow-x: scroll;
181+
.CodeMirror-scroll {
182+
overflow: hidden;
190183
}
191184
.CodeMirror-scrollbar-filler {
192185
right: 0; bottom: 0;

0 commit comments

Comments
 (0)