From 0285ffc856464c5ce2f836eb7dc8b9ca79a97117 Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 10 Feb 2026 00:32:54 +0100 Subject: fix: Canvas fills available height instead of maintaining square aspect Co-Authored-By: Claude Sonnet 4.5 --- tools/shader_editor/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/shader_editor/index.html') diff --git a/tools/shader_editor/index.html b/tools/shader_editor/index.html index 6a1f1a2..de22117 100644 --- a/tools/shader_editor/index.html +++ b/tools/shader_editor/index.html @@ -33,10 +33,10 @@ body { } #preview-canvas { - flex: 1; width: 100%; - height: auto; + height: 100%; background: #000; + display: block; } .fps-counter { -- cgit v1.2.3