mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 14:44:25 +01:00
style(mobile): improve sidebar margins on iOS
This commit is contained in:
parent
cd0df29307
commit
b168d68f93
@ -1174,11 +1174,11 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#mobile-sidebar-container {
|
#mobile-sidebar-container {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: var(--launcher-pane-size);
|
bottom: var(--launcher-pane-size);
|
||||||
z-index: -1000;
|
z-index: -1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1190,7 +1190,12 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#mobile-sidebar-wrapper {
|
#mobile-sidebar-wrapper {
|
||||||
width: 85vw;
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 80vw;
|
||||||
|
padding-top: env(safe-area-inset-top);
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
transition: transform 250ms ease-in-out;
|
transition: transform 250ms ease-in-out;
|
||||||
background: var(--main-background-color);
|
background: var(--main-background-color);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user