authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-07 22:23:38-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-07 22:23:38-07:00
log349ce3014233352e073a5fc1b3f12bd786160913
tree38e898d2020d3e5d751d874d462aac0c0602da7d
parentbc88fdf6ae53de3c9362665336d6d9daec7a49e9
signature Signed by PGP key B5690EEEBB952194

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


1 files changed, 10 insertions(+), 0 deletions(-)

apps/web/src/index.css+10
...@@ -1603,6 +1603,16 @@ code {...@@ -1603,6 +1603,16 @@ code {
1603 -webkit-app-region: drag;1603 -webkit-app-region: drag;
1604}1604}
16051605
1606/* Electron 44 inherits app-region. Reset children to the initial value so they
1607 do not add drag rectangles over fixed controls. Explicit `none` is treated
1608 as `no-drag` and breaks titlebar dragging; `initial` emits no rectangle.
1609 The base layer lets explicit drag/no-drag utilities take precedence. */
1610@layer base {
1611 .drag-region > * {
1612 -webkit-app-region: initial;
1613 }
1614}
1615
1606.drag-region button,1616.drag-region button,
1607.drag-region input,1617.drag-region input,
1608.drag-region textarea,1618.drag-region textarea,