Skip to content

Commit dc77233

Browse files
committed
MD Editor: Fixed scroll on mobile widths
Added min-height to flex elements to ensure they properly flex within the container rathen than adjust to content. For #4466
1 parent 3622c44 commit dc77233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/sass/_forms.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
max-width: 100%;
106106
flex-grow: 1;
107107
flex-basis: auto !important;
108+
min-height: 0;
108109
}
109110
.editor-toolbar-label {
110111
float: none !important;
@@ -119,7 +120,6 @@
119120
#markdown-editor .markdown-editor-wrap:not(.active) {
120121
flex-grow: 0;
121122
flex: none;
122-
min-height: 0;
123123
}
124124
}
125125

0 commit comments

Comments
 (0)