Skip to content

fix: let buttons shrink so the Manage gear fits beside Install (2.1.1-rc.28) - #81

Merged
mazillka merged 1 commit into
developfrom
button-min-width
Oct 25, 2026
Merged

mazillka merged 1 commit into
developfrom
button-min-width

Conversation

@mazillka

Copy link
Copy Markdown
Owner

Why

On a real Steam Deck (rc.27) the Install + ⚙ row on app cards rendered as one long bar with the gear partway along, overlapping Install. Steam's DialogButton has a minimum width of its own, which the browser mock doesn't copy, so the 44px gear button grew past its slot and squeezed Install.

What

compactButtonStyle (src/utils.ts) sets minWidth: 0, so every button fits its slot in side-by-side rows: the card's Install + gear, DeckyHub's Update + gear in Quick Access, and the other button rows. Every user of the style already fills its slot (width: 100%), so nothing else changes.

Version bumped to 2.1.1-rc.28.

Test plan

  • Mock with a simulated Steam-like min-width: 120px on buttons: without the fix the gear grows to 120px and squeezes Install; with it the gear stays 44px and Install ends before it
  • typecheck, build, E2E 75/75
  • On a Deck: Install and ⚙ sit side by side on each card

🤖 Generated with Claude Code

…-rc.28)

On a Steam Deck the Install + gear row broke: Steam's DialogButton has a
minimum width of its own, so the 44px gear grew over the Install button.
compactButtonStyle now sets minWidth: 0, so every button fits its slot in
side-by-side rows. Reproduced in the mock with a simulated 120px minimum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mazillka
mazillka merged commit 9775101 into develop Oct 25, 2026
5 of 6 checks passed
@mazillka
mazillka deleted the button-min-width branch October 25, 2026 05:41
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