mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 03:32:26 +08:00
fix(mobile): position of classic toolbar on tablet view
This commit is contained in:
parent
a8f052071e
commit
b11f2a6992
@ -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')
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user