Skip to content

Build your personal knowledge base with Trilium Notes

feat(mobile): display modals at the bottom of the screen

Elian Dorandd8e73d8ca06
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index e539ec16ba..0f3f2a2459 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -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 */