fix(mobile): position of editing toolbar on tablet mode

release/v0.91.3-beta
Elian Doran 2025-01-16 16:09:11 +07:00
parent 0cab891d2e
commit 6caddc8004
No known key found for this signature in database
1 changed files with 13 additions and 1 deletions

@ -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;
}