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
fix(options): wrong height on mobile
Elian Dorand27ea59865af
diff --git a/apps/client/src/widgets/dialogs/OptionsDialog.css b/apps/client/src/widgets/dialogs/OptionsDialog.cssindex 5e88dc2750..d2798d8529 100644--- a/apps/client/src/widgets/dialogs/OptionsDialog.css+++ b/apps/client/src/widgets/dialogs/OptionsDialog.css@@ -77,6 +77,12 @@ body.mobile .modal.options-dialog.mobile-view-list .modal-body {display: none;}+/* With the body hidden, collapse the main pane to just its header (the generic layout gives it+ flex-grow: 1, which would leave it occupying half the dialog) so the list takes the full height. */+body.mobile .modal.options-dialog.mobile-view-list .modal-main {+ flex-grow: 0;+}+body.mobile .modal.options-dialog.mobile-view-page .modal-sidebar {display: none;}