summaryrefslogtreecommitdiff
path: root/tools/shader_editor/index.html
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-10 00:32:54 +0100
committerskal <pascal.massimino@gmail.com>2026-02-10 00:32:54 +0100
commit0285ffc856464c5ce2f836eb7dc8b9ca79a97117 (patch)
tree5d62854c47048895acc51116c4471943d853c5f1 /tools/shader_editor/index.html
parentfa7b8401cc667daaeefaf209ab5b6792dd958a3d (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.html4
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 {