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
This commit is contained in:
Dan Brown 2023-08-30 02:41:51 +01:00
parent 3622c440d7
commit dc77233ec3
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9

View file

@ -105,6 +105,7 @@
max-width: 100%; max-width: 100%;
flex-grow: 1; flex-grow: 1;
flex-basis: auto !important; flex-basis: auto !important;
min-height: 0;
} }
.editor-toolbar-label { .editor-toolbar-label {
float: none !important; float: none !important;
@ -119,7 +120,6 @@
#markdown-editor .markdown-editor-wrap:not(.active) { #markdown-editor .markdown-editor-wrap:not(.active) {
flex-grow: 0; flex-grow: 0;
flex: none; flex: none;
min-height: 0;
} }
} }