feat(mobile): move launch bar at the bottom

This commit is contained in:
Elian Doran 2024-12-28 11:36:25 +02:00
parent ccc46dc410
commit 59ba3bf2a6
No known key found for this signature in database
2 changed files with 10 additions and 8 deletions

View File

@ -119,12 +119,6 @@ export default class MobileLayout {
.setParent(appContext)
.class("horizontal-layout")
.cssBlock(MOBILE_CSS)
.child(new FlexContainer("row")
.class("horizontal")
.css("height", "53px")
.child(new LauncherContainer(true))
.child(new GlobalMenuWidget(true))
.id("launcher-pane"))
.child(new FlexContainer("row")
.filling()
.child(new ScreenContainer("tree", 'column')
@ -177,6 +171,12 @@ export default class MobileLayout {
)
.child(new ProtectedSessionPasswordDialog())
.child(new ConfirmDialog())
);
)
.child(new FlexContainer("row")
.class("horizontal")
.css("height", "53px")
.child(new LauncherContainer(true))
.child(new GlobalMenuWidget(true))
.id("launcher-pane"));
}
}

View File

@ -21,6 +21,7 @@
:root {
--submenu-opening-delay: 300ms;
--launcher-pane-size: 53px;
}
html {
@ -1174,7 +1175,8 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
body.mobile #launcher-pane .dropdown-menu.show {
position: fixed !important;
top: var(--launcher-pane-size) !important;
bottom: var(--launcher-pane-size) !important;
top: unset !important;
left: 0 !important;
right: 0 !important;
transform: unset !important;