mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Lexical: Added mobile toolbar support
Adds dynamic and fixed (out of DOM order) positioning with location adjustment depending on space. Also adds smarter hiding to prevent disappearing when mouse leaves but within the same space as the toggle.
This commit is contained in:
@ -24,6 +24,14 @@
|
||||
@include mixins.lightDark(border-color, #DDD, #000);
|
||||
}
|
||||
|
||||
@include mixins.smaller-than(vars.$bp-xl) {
|
||||
.editor-toolbar-main {
|
||||
overflow-x: scroll;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: start;
|
||||
}
|
||||
}
|
||||
|
||||
body.editor-is-fullscreen {
|
||||
overflow: hidden;
|
||||
.edit-area {
|
||||
|
@ -26,6 +26,7 @@
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
box-shadow: vars.$bs-card;
|
||||
min-width: 300px;
|
||||
@include mixins.lightDark(background-color, #FFF, #333)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user