Skip to content

Build your personal knowledge base with Trilium Notes

style(next): add some remarks

Adorian Doran04a41ca5f492
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index dbb0fd3540..3183f3ea31 100644
--- a/src/public/stylesheets/theme-next/shell.css
+++ b/src/public/stylesheets/theme-next/shell.css
@@ -897,20 +897,21 @@ body.layout-horizontal .tab-row-container {
padding-top: calc((var(--tab-bar-height) - var(--tab-height)));
}
+/* Define extra drag areas for Electron windows */
body.layout-horizontal .tab-row-container,
body.layout-vertical .tab-row-widget,
body.layout-vertical #left-pane .quick-search {
-webkit-app-region: drag;
}
+/* Limit the drag area for the previous elements to include just to the element itself
+ and not its descendants also */
body.layout-horizontal .tab-row-container > *,
body.layout-vertical .tab-row-widget > *,
body.layout-vertical #left-pane .quick-search > * {
- -webkit-app-region: no-drag; /* Limit the drag area only for the parent element */
+ -webkit-app-region: no-drag;
}
-
-
body.layout-horizontal .tab-row-widget-container {
margin-top: 0;
position: relative;