mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-01 02:01:33 +08:00
fix(mobile): position of editing toolbar on tablet mode
This commit is contained in:
parent
0cab891d2e
commit
6caddc8004
@ -31,13 +31,25 @@ const TPL = `\
|
||||
align-items: flex-end;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: calc(var(--tab-bar-height) + var(--launcher-pane-height) + var(--mobile-bottom-offset));
|
||||
right: 0;
|
||||
overflow-x: auto;
|
||||
z-index: 500;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
body.mobile .classic-toolbar-widget.visible {
|
||||
bottom: calc(var(--tab-bar-height) + var(--launcher-pane-height) + var(--mobile-bottom-offset));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 991px) {
|
||||
body.mobile .classic-toolbar-widget.visible {
|
||||
bottom: 0;
|
||||
left: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
body.mobile .classic-toolbar-widget.dropdown-active {
|
||||
height: 50vh;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user