Repository navigation
fix(web): center check status icons on their labels - #776
Merged
Merged
Conversation
The tooltip wrapper around CheckStateIcon was an inline span, so the inline-grid icon sat on the text baseline and rode above the check, job and activity labels. The wrappers are now flex boxes, which take the icon out of the line box and let the row centre it. Fixes: #615 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Check status icons (spinner, check, cross) rode a couple of pixels above their labels in the PR checks list. Since the running-checks spinner landed, the tooltip wrapper around the icon held
CheckStateIcon, aninline-grid, inside a plain inline<span>. That put the icon on the text baseline inside a line box, so its vertical position depended on font metrics and the engine's baseline handling instead of the row'sitems-center. The wrappers are nowflex shrink-0, so there's no line box and the row centres the icon on the label. Applied in every place that wraps the icon this way: check rows, job rows inside an expanded check, the activity header, and both icons in the linked PR row.Fixes: #615
Chromium centres the icon with either markup, so this was checked by measurement there (icon centre = row centre), not as a before/after. The reported offset is from macOS (WebKit), which couldn't be run here.
No UI text changes, so no copy audit.
Checks: format:check, lint, typecheck.
🤖 Generated with Claude Code