Skip to content

Build your personal knowledge base with Trilium Notes

fix(options): fixed top bar

Elian Doranb82d3db2f615
diff --git a/apps/client/src/widgets/dialogs/PopupEditor.css b/apps/client/src/widgets/dialogs/PopupEditor.css
index 27bec17f8d..517c0387a2 100644
--- a/apps/client/src/widgets/dialogs/PopupEditor.css
+++ b/apps/client/src/widgets/dialogs/PopupEditor.css
@@ -145,4 +145,14 @@ body.mobile .modal.popup-editor-dialog .modal-dialog {
overflow: auto;
width: 240px;
padding: 8px;
-}
\ No newline at end of file
+}
+
+/* In the settings layout the main header only carries the window (maximize/close) buttons, with the
+ title moved into the sidebar. Slim that header and drop the page's own top spacing so the content
+ starts right beneath it, instead of leaving a tall empty band at the top of the content area. */
+.modal.popup-editor-dialog .modal-content-with-sidebar .modal-header {
+ position: absolute;
+ top: 0;
+ right: 4px;
+ z-index: 9999;
+}