Skip to content

deadlock: let Sounds span full width like Mods for the sound card grid - #305

Merged
rndaom merged 1 commit into
mainfrom
rndaom/deadlock-sounds-width
Dec 6, 2026
Merged

rndaom merged 1 commit into
mainfrom
rndaom/deadlock-sounds-width

Conversation

@rndaom

@rndaom rndaom commented Dec 6, 2026

Copy link
Copy Markdown
Owner

The Deadlock Sounds pane hosts the GameBanana sound card grid (.mods-gb-grid), but .settings-content[data-pane="sounds"] still inherited the 900px --pane-max cap, leaving wide empty side margins on desktop monitors compared to Mods.

Changes

  • Added [data-game="deadlock"] .settings-content[data-pane="sounds"] { max-width: none; } in apps/desktop/src/index.css so Deadlock's Browse sound mods grid spans full workspace width identically to Mods, while leaving TF2's Sounds column untouched.
  • Scoped [data-game="deadlock"] .settings-content[data-pane="sounds"] .apply-bar to var(--pane-max) so the sticky Save bar aligns with the 900px Custom audio column.

Checks

  • pnpm check
  • pnpm --filter @execs/desktop build
  • Verified ?preview=deadlock-sounds at 1600×900 in the browser preview: Sounds and Mods grids match pixel-for-pixel (1362px, 4 cards across) while Custom audio and its ApplyBar align at 900px.

@rndaom
rndaom merged commit d6548e0 into main Dec 6, 2026
11 checks passed
@rndaom
rndaom deleted the rndaom/deadlock-sounds-width branch December 6, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant