Skip to content

Build your personal knowledge base with Trilium Notes

style/center pane: make the bottom rounded corner to be supported by the all/most note types

Adorian Dorana00e2407c94d
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index f4a99da8b7..8878ef694c 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -1325,6 +1325,11 @@ body.layout-horizontal #rest-pane > .classic-toolbar-widget {
body.desktop.experimental-feature-new-layout .vertical-layout #center-pane .note-split:not(.visible ~ .visible) {
border-end-start-radius: var(--center-pane-border-radius);
+
+ > .scrolling-container {
+ /* Use clip-path to force rounded bottom corner for the note content */
+ clip-path: inset(0px round 0 0 0 var(--center-pane-border-radius));
+ }
}
#center-pane .note-split {