diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-10 00:32:54 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-10 00:32:54 +0100 |
| commit | 0285ffc856464c5ce2f836eb7dc8b9ca79a97117 (patch) | |
| tree | 5d62854c47048895acc51116c4471943d853c5f1 /tools/shader_editor/index.html | |
| parent | fa7b8401cc667daaeefaf209ab5b6792dd958a3d (diff) | |
fix: Canvas fills available height instead of maintaining square aspect
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/shader_editor/index.html')
| -rw-r--r-- | tools/shader_editor/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
