Repository navigation
fix(web): centre and space the What's new badge in the sidebar - #160
Merged
TheGreatAxios merged 1 commit intoNov 4, 2026
Conversation
|
Triage: Pass No changes needed from you. A maintainer will review this pull request. |
TheGreatAxios
enabled auto-merge
November 4, 2026 19:04
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.
Linear: CL-12052
What changed
SidebarItemputs its children inside a single inline label, so the "What's new" text and theNEWbadge sat flush against each other and aligned on the text baseline. The footer item now wraps the two in one.app-sidebar-whats-newspan that lays them out as a centred row with an 8px gap, the same gap the sidebar uses elsewhere.@corbits/react-uiis unchanged.Verification
Lint, format check, typecheck, unit tests,
pins:verifyandvendor:verifypass. On a local stack I measured the item in headless Chromium: before the fix the badge started right where the text ended (0px gap); after it, the gap is 8px and the label and badge centres are within 0.01px of each other.Before:
After: