style(next): improve the window dragging functionality for the horizontal toolbar layout

This commit is contained in:
Adorian Doran 2025-03-27 18:26:21 +02:00
parent 66cebf4ebf
commit b9c4d83223

View File

@ -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 {