fix(ansem): growth line was hidden behind the constellation canvas - #402
Closed
sebbsssss wants to merge 1 commit into
Closed
fix(ansem): growth line was hidden behind the constellation canvas#402sebbsssss wants to merge 1 commit into
sebbsssss wants to merge 1 commit into
Conversation
The line sat at z-index:-1, below the full-viewport constellation <canvas> (z-index auto), so it never showed. Lift to z-index:2 — above the canvas, below the HUD text (z-index:3) so the count/stats stay readable. Slightly stronger stroke/glow and 20vh so the curve reads against the swarm. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
Superseded: reworking as a toggle below the stats that shows a clean contained chart, instead of a background line fighting the constellation. |
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.
Problem
The background growth line was reported invisible ("still don't see it"), twice.
Root cause
The constellation
<canvas>is full-viewport atz-index: auto, and the growth<svg>was atz-index: -1— i.e. underneath the entire canvas layer. It wasn't faint, it was buried. (Confirmed live via DOM inspection + a z-index patch that made it appear immediately.)Fix
z-index: -1→2— above the canvas, below the HUD text (z-index: 3) so the count/stats stay crispstrokeWidth 1.4 → 1.7, glow5px/.6 → 7px/.7, fade target0.5 → 0.62, height18vh → 20vhso the curve reads against the swarm without washing contentVerified on production DOM: with
z-index:2the curve shows as a subtle glowing line sweeping up along the bottom; numbers remain readable.🤖 Generated with Claude Code