mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 13:31:49 +08:00
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:
parent
3622c440d7
commit
dc77233ec3
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user