Skip to content

fix(ui): vignette no longer washes out content at page bottom#18

Merged
fullstackjam merged 1 commit into
mainfrom
fix/vignette-washes-out-bottom-content
Jun 16, 2026
Merged

fix(ui): vignette no longer washes out content at page bottom#18
fullstackjam merged 1 commit into
mainfrom
fix/vignette-washes-out-bottom-content

Conversation

@fullstackjam

Copy link
Copy Markdown
Contributor

Summary

Fixes a dark-mode readability bug reported on /dashboard/edit/<slug>: the bottom SCRIPT section was nearly invisible.

Root cause: the edge vignette was a fixed full-viewport overlay (body::before, z-index 0) painting over content. On tall pages the bottom content sat in the darkest part of the vignette and got washed out.

Fix: move the vignette into the body background layer (background-image + background-attachment: fixed) so it always renders behind content, and soften it slightly. This applies globally, so every long page benefits.

Test plan

  • npm run validate — lint/check/test pass, build ✓
  • Verified docs (tall page) bottom is crisp in dark mode; home hero retains subtle vignette depth
  • After deploy: confirm /dashboard/edit bottom SCRIPT section is readable in dark mode

The dark-mode edge vignette was a fixed full-viewport overlay (body::before,
z-index 0) painting over content. On tall pages (config editor) the bottom
content sat in the darkest part of the vignette and became unreadable.

Move the vignette into the body background layer (background-image +
background-attachment: fixed) so it always renders behind content, and
soften it slightly. Fixes the unreadable SCRIPT section at the bottom of
/dashboard/edit in dark mode.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@fullstackjam fullstackjam merged commit e6e4678 into main Jun 16, 2026
6 checks passed
@fullstackjam fullstackjam deleted the fix/vignette-washes-out-bottom-content branch June 16, 2026 02:38
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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