mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
feat(mobile): display modals at the bottom of the screen
This commit is contained in:
parent
f7d3737cba
commit
dd8e73d8ca
@ -1218,6 +1218,18 @@ body.mobile #launcher-pane .dropdown-menu.show {
|
||||
#mobile-sidebar-container.show #mobile-sidebar-wrapper {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
body.mobile .modal.show {
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
body.mobile .modal-dialog {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile, tablet mode */
|
||||
|
Loading…
x
Reference in New Issue
Block a user