Repository navigation
fix: keep the Screenly badge on the dark band and fit the card to any window - #2
Merged
Merged
Conversation
… window The badge used the kit's position: fixed corner placement, so whenever the hotline band was not flush with the bottom of the window (e.g. a near-square browser window, where the card overflowed and pushed the band down) its white wordmark sat on the light paper and disappeared. - Move the badge into the hotline band as an in-flow flex item. - Make the board exactly one viewport tall so the band is always at the bottom edge. - Scale every size inside the card by a --fit factor that main.ts steps down until the photo and details fit, so no window shape overflows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
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.
What
The Screenly badge showed up as a faint white wordmark on the light paper background. The kit's
.brandisposition: fixedto the corner of the window. On this light design that only works while the dark hotline band sits flush with the bottom edge.In near-square browser windows (e.g. 900x1100) the card overflowed. That pushed the band down and left the badge floating over the paper.
Fix
.hotline .brandoverride, so it always sits on dark.height: 100svhwith aminmax(0, 1fr)card row, so the band is always on the bottom edge..cardis in--u(1rem * --fit).fitCard()lowers--fitfrom 1 to a floor of 0.45 until the photo and details fit the card's box.scrollHeightdoesn't count.Verification
🤖 Generated with Claude Code