Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit bcc1a86

Browse files
committed
Fix CodeEditor scroll bug
1 parent 7418084 commit bcc1a86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

velog-frontend/src/components/write/CodeEditor/CodeEditor.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
min-width: 0;
2323
flex: 1;
2424
display: flex;
25+
flex-direction: column;
2526
.CodeMirror {
26-
height: 100%;
27+
flex: 1;
2728
padding-top: 1rem;
2829
padding-bottom: 1rem;
2930
@include media('<large') {

0 commit comments

Comments
 (0)