]> BookStack Code Mirror - bookstack/commitdiff
MD Editor: Fixed scroll on mobile widths
authorDan Brown <redacted>
Wed, 30 Aug 2023 01:41:51 +0000 (02:41 +0100)
committerDan Brown <redacted>
Wed, 30 Aug 2023 01:41:51 +0000 (02:41 +0100)
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

index 4722d9aa10f254398c930b03c931a4975bd4ecda..2e534d60f081c59fae421414a0675b86ca052861 100644 (file)
     max-width: 100%;
     flex-grow: 1;
     flex-basis: auto !important;
+    min-height: 0;
   }
   .editor-toolbar-label {
     float: none !important;
   #markdown-editor .markdown-editor-wrap:not(.active) {
     flex-grow: 0;
     flex: none;
-    min-height: 0;
   }
 }