From 6f3e4c8aa09681e115ca8e433423c9ba34e86db9 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 1 Apr 2026 17:05:11 +0000 Subject: [PATCH] Fix editor canvas not rendering: layout and resize fixes - Canvas uses flex:1 and align-self:stretch to fill remaining space - edResize uses getBoundingClientRect for reliable width measurement - Use double requestAnimationFrame instead of setTimeout for layout settling - Minimum canvas height of 200px as fallback https://claude.ai/code/session_01TFVkxq4PYhkSFGYHEi4uqY --- index.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index ae2bb79..96f9740 100644 --- a/index.html +++ b/index.html @@ -229,7 +229,7 @@ canvas{display:block;} - +