Skip to content

Commit 3862206

Browse files
committed
Fixed editor styling bug in Firefox
1 parent 572980a commit 3862206

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/routes/Home/components/HomeView.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
.ReactCodeMirror, .CodeMirror {
1+
.ReactCodeMirror {
2+
position: absolute;
3+
top: 0;
4+
bottom: 0;
5+
}
6+
7+
.ReactCodeMirror .CodeMirror {
28
height: 100% !important;
9+
width: 100%;
310
}
411

512
.ide {
@@ -20,7 +27,8 @@
2027
padding-left: 25px;
2128
transition: flex .3s;
2229
min-height: 0px;
23-
overflow-y: hidden;
30+
overflow: hidden;
31+
background: #fff;
2432
}
2533

2634
.ide__column-gutter {

0 commit comments

Comments
 (0)