Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
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.cssindex 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 */