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(next): improve the window dragging functionality for the horizontal toolbar layout
Adorian Doranb9c4d8322360
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.cssindex 11958d494d..446b5466c3 100644--- a/src/public/stylesheets/theme-next/shell.css+++ b/src/public/stylesheets/theme-next/shell.css@@ -895,6 +895,11 @@ body.layout-vertical.electron.platform-darwin .tab-row-container {body.layout-horizontal .tab-row-container {padding-top: calc((var(--tab-bar-height) - var(--tab-height)));+ -webkit-app-region: drag;+}++body.layout-horizontal .tab-row-container > * {+ -webkit-app-region: no-drag; /* Limit the drag area only for the parent element */}body.layout-horizontal .tab-row-widget-container {