Skip to content

Build your personal knowledge base with Trilium Notes

style/center pane: refactor CSS

Adorian Doranac2262758f3c
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index 8878ef694c..ebf4d6f3cf 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -1321,14 +1321,14 @@ body.layout-horizontal #rest-pane > .classic-toolbar-widget {
/* The first visible note split */
.vertical-layout #center-pane .note-split:not(.visible ~ .visible) {
border-start-start-radius: var(--center-pane-border-radius);
-}
-body.desktop.experimental-feature-new-layout .vertical-layout #center-pane .note-split:not(.visible ~ .visible) {
- border-end-start-radius: var(--center-pane-border-radius);
+ body.desktop.experimental-feature-new-layout & {
+ 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));
+ > .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));
+ }
}
}