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

This commit is contained in:
Adorian Doran 2025-03-27 18:40:49 +02:00
parent b9c4d83223
commit b6565c3b13

View File

@ -895,13 +895,20 @@ 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)));
}
body.layout-horizontal .tab-row-container,
body.layout-vertical .tab-row-widget {
-webkit-app-region: drag;
}
body.layout-horizontal .tab-row-container > * {
body.layout-horizontal .tab-row-container > *,
body.layout-vertical .tab-row-widget > * {
-webkit-app-region: no-drag; /* Limit the drag area only for the parent element */
}
body.layout-horizontal .tab-row-widget-container {
margin-top: 0;
position: relative;