From 8cf6a6b9ae1ffaff6d61d41bb85eeb9ac52f5d81 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sat, 20 Dec 2025 12:51:43 +0200 Subject: [PATCH] style: make the center panel border radius apply over the classic formatting toolbar if required --- apps/client/src/stylesheets/theme-next/shell.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css index 9cf8b990f..176081adf 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 {