Skip to content

Commit 0d945c3

Browse files
committed
Fix CodeMirror scrolling.
1 parent a22264e commit 0d945c3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

stylus/app.styl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,6 @@ body
535535

536536
.input
537537
padding 10px
538-
overflow scroll
539538
+breakpoint("tablet")
540539
padding 20px
541540
// &[data-alg="HS256"]

stylus/codemirror.styl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
zoom 1
33
font-family 'Roboto Mono', Menlo
44
outline none
5-
height auto
5+
height 100%
66
*
77
outline none
88
box-shadow none
99

10+
.CodeMirror-scroll
11+
overflow hidden !important
12+
margin-bottom 0
13+
margin-right 0
14+
padding-bottom 0
15+
1016
.jwt-playground .input
1117
&.error
1218
background pink

0 commit comments

Comments
 (0)