Skip to content

fix(web): dashboard source-health card mobile overflow#14

Merged
DCCA merged 1 commit into
masterfrom
fix/dashboard-mobile-overflow
Jun 21, 2026
Merged

fix(web): dashboard source-health card mobile overflow#14
DCCA merged 1 commit into
masterfrom
fix/dashboard-mobile-overflow

Conversation

@DCCA

@DCCA DCCA commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes ~27px horizontal overflow on the Dashboard at 390px. The source-health alert cards contain a whitespace-nowrap (truncate) mono URL; CSS grid items default to min-width:auto, so the card wouldn't shrink below the full string width. Added min-w-0 to the card grid item (the prior min-w-0 covered only the inner text column).

Verification

  • /visual-verify mobile pass: horizontalOverflow true → false; cards now fit
  • Build clean; 24 frontend tests pass
  • Light/dark/mobile screenshots confirmed

🤖 Generated with Claude Code

The long mono source URL uses whitespace-nowrap (truncate); CSS grid items
default to min-width:auto, so the card refused to shrink below the full
string width, causing ~27px horizontal overflow at 390px. Add min-w-0 to the
card grid item (the earlier min-w-0 was only on the inner text column).

Caught by the /visual-verify mobile pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@DCCA DCCA merged commit 99516c7 into master Jun 21, 2026
4 checks passed
@DCCA DCCA deleted the fix/dashboard-mobile-overflow branch June 21, 2026 00:52
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