Skip to content

fix(ui): keep the header opaque when --head-* tokens are missing - #43

Merged
TahubCS merged 7 commits into
mainfrom
UI/Fixes
Oct 11, 2026
Merged

TahubCS merged 7 commits into
mainfrom
UI/Fixes

Conversation

@JacobGittHub

Copy link
Copy Markdown
Collaborator

Summary

On production the sticky header turned see-through while scrolling. The deployed globals.css chunk was stale (Vercel build cache): it had no --head-* tokens, so background-color: var(--head-bg) was empty and page content showed through. The header band now has fallback values that match globals.css (--head-bg, --head-grid, --head-ink), so it stays opaque even if the tokens are missing.

Feature / bug

Bug: header transparent on scroll (reeflect.app). Follow-up to #40.

Governing ADRs

ADR-046 (plain CSS + tokens)

Type

  • feat
  • fix
  • refactor
  • test
  • docs
  • chore / ci

Definition of done (AGENTS.md section 8)

  • Follows every non-negotiable rule in AGENTS.md section 4
  • Vitest tests for domain logic: n/a, CSS only
  • Playwright test for the user-facing flow: none added; the existing header specs cover it
  • Workspace isolation matrix: n/a, no new action or route
  • Lint, typecheck, unit and E2E pass locally: typecheck and docs:check pass; unit and E2E not run
  • Docs updated; HANDOFF entry appended: not yet

Database

  • No schema change
  • Schema change with generated migration included (describe below)

Security impact

None. Styling only.

Screenshots

None. If the header is still transparent after deploy, redeploy on Vercel with "Use existing Build Cache" unticked.

@vercel

vercel Bot commented Oct 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
reeflect Ready Ready Preview Oct 11, 2026 1:08pm UTC

@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: TahubCS/Reeflect/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 219315e3-e1f8-4732-bc45-b15c937ad4b5

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@TahubCS TahubCS left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@TahubCS
TahubCS merged commit 5116fb5 into main Oct 11, 2026
9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 98a4574b Deployed Oct 11, 2026 by vercel[bot]
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.

2 participants