fix(desktop): restore layout control hit targets (#10673)

This commit is contained in:
Julius Marminge authored and GitHub committed 2026-09-07 22:23:38 -07:00
1 parent bc88fdf6ae
commit 349ce30142
1 file changed
+10
+10
View File
@@ -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,