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
style: make the center panel border radius apply over the classic formatting toolbar if required
Adorian Doran8cf6a6b9ae1f
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.cssindex 9cf8b990f1..176081adf3 100644--- a/apps/client/src/stylesheets/theme-next/shell.css+++ b/apps/client/src/stylesheets/theme-next/shell.css@@ -1228,6 +1228,7 @@ body.layout-vertical .tab-row-widget-is-sorting .note-tab.note-tab-is-dragging .#rest-pane > .classic-toolbar-widget {margin-bottom: 2px;+ border-start-start-radius: var(--center-pane-border-radius);}body.layout-vertical #rest-pane > .classic-toolbar-widget {@@ -1238,13 +1239,18 @@ body.layout-horizontal #rest-pane > .classic-toolbar-widget {background: var(--classic-toolbar-horiz-layout-background-color);}+.classic-toolbar-widget:not(.hidden-ext) + #vertical-main-container {+ /* Remove the center panel border radius when the toolbar is visible */+ --center-pane-border-radius: 0;+}+/** CENTER PANE*//* The first visible note split */.vertical-layout #center-pane .note-split:not(.visible ~ .visible) {- border-radius: var(--center-pane-border-radius) 0 0 0;+ border-start-start-radius: var(--center-pane-border-radius);}#center-pane .note-split {