From 11fe3df513320cc38e819ac9e7fe59bb1699017c Mon Sep 17 00:00:00 2001 From: Kyle Pope Date: Thu, 12 Mar 2026 09:26:02 +0800 Subject: [PATCH] Fix ambient background: use positive z-index layering instead of negative Negative z-index (-z-10) placed orbs behind the body's opaque background, making them invisible. Moved all ambient layers (orbs, noise texture, vignette) into the DashboardAmbient component as absolute-positioned children at z-0, with content at z-10. Boosted orb opacities to 12%/7% for perceptible effect. Removed CSS pseudo-element approach in favor of inline React elements for better stacking control. Co-Authored-By: Claude Opus 4.6 --- .../components/dashboard/DashboardAmbient.tsx | 24 ++++++++++++++++--- .../components/dashboard/DashboardPage.tsx | 6 ++--- frontend/src/index.css | 23 ------------------ 3 files changed, 24 insertions(+), 29 deletions(-) diff --git a/frontend/src/components/dashboard/DashboardAmbient.tsx b/frontend/src/components/dashboard/DashboardAmbient.tsx index e348d56..76aa2b8 100644 --- a/frontend/src/components/dashboard/DashboardAmbient.tsx +++ b/frontend/src/components/dashboard/DashboardAmbient.tsx @@ -3,13 +3,15 @@ * Two accent-colored drifting orbs at very low opacity — adds depth * and movement without distracting from content. Reuses the same * drift keyframes as the login AmbientBackground but at ~25% opacity. + * + * Also renders a noise texture and vignette overlay for tactile depth. */ export default function DashboardAmbient() { return ( -