Repository navigation
Fix card footer source/actions vertical misalignment - #10
Merged
Merged
Conversation
The footer rows (card/lead/mini-foot) place the source line and action buttons in one align-items:center flex row, but .card-actions still had a stray margin-top:12px — a left-over from a stacked layout. On a centered flex item the asymmetric top margin offsets the buttons ~6px below the source. Drop it so they align. The gap above the footer is unaffected (it comes from card-foot's margin-top:auto). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Bug: in story cards, the source line (e.g. "Engadget · 1d") and the Read later / Done buttons don't line up vertically — the buttons sit ~6px low.
Cause: the footer (
.card-foot/.lead-foot/.mini-foot) is analign-items: centerflex row, but.card-actionsstill had a straymargin-top: 12px(left over from when actions stacked below the source). On a centered flex item an asymmetric top margin offsets the item's content, dropping the buttons below the source baseline.Fix: remove the
margin-topfrom.card-actions. One line; affects all three footer variants. The space above the footer is unchanged (it comes from.card-foot'smargin-top:auto, not this margin).Deployed on this branch to nova for testing — do not merge until confirmed.
🤖 Generated with Claude Code