Skip to content

Commit e856016

Browse files
committed
move scroll of code editor inside editor
Signed-off-by: Maxim Sukharev <[email protected]>
1 parent 5d98293 commit e856016

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

frontend/src/App.less

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ body {
6969
// make modal window "fullscreen"
7070
// margins are hard-coded in bootstrap, so it's hard-coded here too
7171
.modal-body {
72-
max-height: ~'calc(100vh - 80px)';
72+
height: ~'calc(100vh - 80px)';
7373
overflow-y: auto;
7474
}
7575

@@ -78,3 +78,8 @@ body {
7878
max-height: ~'calc(100vh - 120px)';
7979
}
8080
}
81+
82+
.uast-editor,
83+
.react-codemirror2 {
84+
height: 100%;
85+
}

0 commit comments

Comments
 (0)