fix(mobile): position of classic toolbar on tablet view

This commit is contained in:
Elian Doran 2025-01-01 21:40:47 +02:00
parent a8f052071e
commit b11f2a6992
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -138,6 +138,7 @@ export default class MobileLayout {
.css("padding-left", "0") .css("padding-left", "0")
.css("padding-right", "0") .css("padding-right", "0")
.css('max-height', '100%') .css('max-height', '100%')
.css("position", "relative")
.child(new FlexContainer('row').contentSized() .child(new FlexContainer('row').contentSized()
.css('font-size', 'larger') .css('font-size', 'larger')
.css('align-items', 'center') .css('align-items', 'center')

View File

@ -23,9 +23,9 @@ const TPL = `\
} }
body.mobile .classic-toolbar-widget { body.mobile .classic-toolbar-widget {
position: fixed; position: absolute;
left: 0; left: 0;
bottom: var(--launcher-pane-size); bottom: 0;
right: 0; right: 0;
overflow-x: auto; overflow-x: auto;
background: var(--main-background-color); background: var(--main-background-color);