Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit b9c4d83

Browse files
committed
style(next): improve the window dragging functionality for the horizontal toolbar layout
1 parent 66cebf4 commit b9c4d83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/public/stylesheets/theme-next/shell.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,11 @@ body.layout-vertical.electron.platform-darwin .tab-row-container {
895895

896896
body.layout-horizontal .tab-row-container {
897897
padding-top: calc((var(--tab-bar-height) - var(--tab-height)));
898+
-webkit-app-region: drag;
899+
}
900+
901+
body.layout-horizontal .tab-row-container > * {
902+
-webkit-app-region: no-drag; /* Limit the drag area only for the parent element */
898903
}
899904

900905
body.layout-horizontal .tab-row-widget-container {

0 commit comments

Comments
 (0)