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

This commit is contained in:
Elian Doran 2025-01-16 16:09:11 +02:00
parent 0cab891d2e
commit 6caddc8004
No known key found for this signature in database

View File

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