Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/web/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1603,6 +1603,16 @@ code {
-webkit-app-region: drag;
}

/* Electron 44 inherits app-region. A later header child can otherwise add a
drag rectangle over fixed controls that already opted out. `none` emits no
rectangle, preserving the parent's drag area; `no-drag` would subtract it.
Use the base layer so explicit drag/no-drag utilities still take precedence. */
@layer base {
.drag-region > * {
-webkit-app-region: none;
}
}

.drag-region button,
.drag-region input,
.drag-region textarea,
Expand Down
Loading