Skip to content

Build your personal knowledge base with Trilium Notes

feat(options): span the page header's bottom border to the full width

Elian Doran53a5f7659025
diff --git a/apps/client/src/widgets/type_widgets/options/components/OptionsPageHeader.css b/apps/client/src/widgets/type_widgets/options/components/OptionsPageHeader.css
index fbafc6d493..0d77d49f87 100644
--- a/apps/client/src/widgets/type_widgets/options/components/OptionsPageHeader.css
+++ b/apps/client/src/widgets/type_widgets/options/components/OptionsPageHeader.css
@@ -76,6 +76,14 @@
padding-block: 10px;
}
+/* Break out of the option page's inline padding (25px in the new layout) so the bar — and its bottom
+ border — spans the full content width; re-add the inset as padding so the title and actions still
+ line up with the option cards. */
+body.experimental-feature-new-layout .options-page-header {
+ margin-inline: -25px;
+ padding-inline: 25px;
+}
+
/* In the settings dialog the content area is painted with the modal background. */
.modal.options-dialog .options-page-header {
background: var(--modal-background-color);