From 349ce3014233352e073a5fc1b3f12bd786160913 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 7 Sep 2026 22:23:38 -0700 Subject: [PATCH] fix(desktop): restore layout control hit targets (#10673) --- apps/web/src/index.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/web/src/index.css b/apps/web/src/index.css index 7987a06570..1d7975d246 100644 --- a/apps/web/src/index.css +++ b/apps/web/src/index.css @@ -1603,6 +1603,16 @@ code { -webkit-app-region: drag; } +/* Electron 44 inherits app-region. Reset children to the initial value so they + do not add drag rectangles over fixed controls. Explicit `none` is treated + as `no-drag` and breaks titlebar dragging; `initial` emits no rectangle. + The base layer lets explicit drag/no-drag utilities take precedence. */ +@layer base { + .drag-region > * { + -webkit-app-region: initial; + } +} + .drag-region button, .drag-region input, .drag-region textarea,