From 04a41ca5f492809b78feb9ffe43660579b4af734 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Thu, 27 Mar 2025 18:50:26 +0200 Subject: [PATCH] style(next): add some remarks --- src/public/stylesheets/theme-next/shell.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css index dbb0fd354..3183f3ea3 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;