fix: cmatrix canvas fills the full terminal area #2

Merged
bnied merged 0 commits from refs/pull/2/head into main 2026-04-23 17:19:52 +00:00
bnied commented 2026-04-23 17:10:20 +00:00 (Migrated from codeberg.org)

The matrix rain only rendered in the top ~150px because the canvas's
CSS height:100% resolved against #output, which has auto height —
falling back to the browser's default 150px canvas size. Temporarily
setting #output to height:100% during the animation (and clearing it
on exit) lets the 100% cascade correctly.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

The matrix rain only rendered in the top ~150px because the canvas's CSS height:100% resolved against #output, which has auto height — falling back to the browser's default 150px canvas size. Temporarily setting #output to height:100% during the animation (and clearing it on exit) lets the 100% cascade correctly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
spaceduck/site!2
No description provided.