Skip to content

Fix squished Update button + line-shaped spinner on mobile#41

Merged
StrandedTurtle merged 1 commit into
mainfrom
claude/youthful-pasteur-2f6s72
Jul 8, 2026
Merged

Fix squished Update button + line-shaped spinner on mobile#41
StrandedTurtle merged 1 commit into
mainfrom
claude/youthful-pasteur-2f6s72

Conversation

@StrandedTurtle

Copy link
Copy Markdown
Owner

Fixes the mobile bug where the Update button gets squished during an update and its spinner collapses into a thin line.

Root cause (two compounding bugs, surfaced once cards gained a third card-actions-left item — Revert):

  1. .spinner had no flex-shrink: 0 — inside a squeezed flex button, the browser shrinks the spinner's width but not height, flattening the circle into a line. Fixed globally (it's used in 10 places across the app), not just this one spot.
  2. .card-actions let the links row (Changelog / What's changed / Revert) and the Update/Updating button fight over one line's width instead of wrapping, crushing the button's label + spinner together.

Fix: below 480px, .card-actions stacks into two full-width lines — the links row wraps on its own, the button gets a full line with room to render. The existing ≥480px side-by-side layout is untouched (verified).

Verification: rendered the actual built CSS in the reported state (long "Revert to java25" label + busy spinner) at 320px / 390px / 600px viewports via a static repro — confirmed fixed at 320/390, confirmed desktop layout unchanged at 600. Full server test suite green (111/111); client build clean.

🤖 Generated with Claude Code


Generated by Claude Code

Two compounding bugs, visible once cards gained a third card-actions-left
item (Revert):

- .spinner had no flex-shrink:0, so a squeezed flex button shrank its width
  but not height, flattening the circle into a thin line. Fix it globally
  (10 usages across the app) rather than per-instance.
- .card-actions let the links row (Changelog / What's changed / Revert) and
  the Update/Updating button fight over one line's width instead of wrapping,
  crushing the button's label + spinner together.

Below 480px, stack card-actions into two full-width lines instead: the links
row wraps on its own, the button gets full width with room to render. The
existing >=480px side-by-side layout is untouched.

Verified by rendering the built CSS in the reported (long revert label, busy
spinner) state at 320/390/600px viewports.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Lj6nYJQDtLaZFvvEQJGM4
@StrandedTurtle StrandedTurtle merged commit a6303a3 into main Jul 8, 2026
3 checks passed
@StrandedTurtle StrandedTurtle deleted the claude/youthful-pasteur-2f6s72 branch July 8, 2026 08:14
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