From dc77233ec30ff4c58ba6f22ba6b39edee3443282 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 30 Aug 2023 02:41:51 +0100 Subject: [PATCH] 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 --- resources/sass/_forms.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/sass/_forms.scss b/resources/sass/_forms.scss index 4722d9aa1..2e534d60f 100644 --- a/resources/sass/_forms.scss +++ b/resources/sass/_forms.scss @@ -105,6 +105,7 @@ max-width: 100%; flex-grow: 1; flex-basis: auto !important; + min-height: 0; } .editor-toolbar-label { float: none !important; @@ -119,7 +120,6 @@ #markdown-editor .markdown-editor-wrap:not(.active) { flex-grow: 0; flex: none; - min-height: 0; } }