Skip to content

Fix: keep Screenly badge in the rail (avoid QR corner collision) - #18

Merged
vpetersson merged 1 commit into
masterfrom
fix/rail-badge-no-corner-collision
Jul 13, 2026
Merged

vpetersson merged 1 commit into
masterfrom
fix/rail-badge-no-corner-collision

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

Stage validation of the 2026.7.2 adoption caught the fixed corner .brand badge overlapping rss-reader's bottom-right QR "scan to read" lockup. rss-reader's badge was originally in the top rail, so restore that placement here.

Changes

  • build.ts: prepend only the kit's fonts.css (not brand.css) — the fixed corner badge doesn't fit this layout.
  • main.css: restore the local .brand rail rule (the former .rail__brand styling).

The adoption's bug fix stays: the badge element is .brand (renamed from .rail__brand), so the shared removeScreenlyBranding() correctly hides it on Screenly players (it never did before). Fonts + the removal helper remain shared.

Verification

lint + 68 tests clean. Built main.css has the rail .brand (no position:fixed) + the 9 canonical @font-face. To be re-validated on stage.

🤖 Generated with Claude Code

The 2026.7.2 adoption moved the badge to the kit's fixed bottom-right corner
badge, but rss-reader already renders a QR "scan to read" lockup in the
bottom-right — the two overlapped (caught on stage). Keep the badge in the top
rail instead: stop prepending the kit's brand.css, restore the local `.brand`
rail rule (the former .rail__brand styling), and only share the @font-face set.

The bug fix from the adoption stays: the element is `.brand` (not the old
.rail__brand), so the shared removeScreenlyBranding() still hides it on Screenly
players. Verified: lint + 68 tests clean; built main.css has the rail `.brand`
(no position:fixed) and the 9 canonical @font-face.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vpetersson
vpetersson merged commit 4af645b into master Jul 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant