Fix: stack the landing badge demo the way the tile does - #21
Merged
Merged
Conversation
Both badge rules computed a radius of exactly half the pill's height, on a height that is scaled by a fraction. WebKit tears the rounded edge when such a badge repaints, and the demo counter rewrites it every 3.4 seconds.
The second pill was offset outward past the tile corner. Pin the stack's outer edge where a single badge sits and shift the front pill inward instead, matching the has-more rule in the product's dashboard CSS. Recapture the two dashboard badge screenshots from a running instance so the tiles show Seerr, Jellyfin and SABnzbd.
Deploying stackyard-docs with
|
| Latest commit: |
2cd70f9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7aeb109f.stackyard-docs.pages.dev |
| Branch Preview URL: | https://fix-landing-badge-stack.stackyard-docs.pages.dev |
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.
Summary
.bdemobadge stack's outer edge to the single-badge position and shift the front pill inward with.badge-peek + .badge, matching the.badge.has-morerule in the app'sdashboard.css.badge-labels.pngandbadge-list.pngfrom a running instance with Jellyfin, Seerr and SABnzbd tiles, centred in frame, with the badge list opened on the middle tile.Testing
All green:
npm run buildandnpm run checkboth pass. Verified the landing badge demo and the Badges page in Chrome in both colour schemes and both docs themes.Checklist
npm run buildandnpm run checkboth pass.