Skip to content

Commit 92d9815

Browse files
committed
Auto-resize editor on input, so it doesn't scroll in its own window
1 parent 539f544 commit 92d9815

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/markmirror/skins/elastic/styles/markmirror.less

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828

2929
#markmirror-container {
3030
.cm-editor {
31-
height: 45vh;
31+
min-height: 45vh;
32+
height: auto;
33+
resize: vertical;
3234
border: solid thin @color-input-border;
3335
border-radius: .25rem;
3436
}

0 commit comments

Comments
 (0)