From 2504716c64de188737bea10978d3f6936a3ae16f Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 16 May 2026 02:04:47 +0200 Subject: [PATCH] fix: tighten calc stack display layout Reorder the stack cell grid so the copy button sits beside the label and reduce spacing to better align the value column. --- samples/calc-02/index.css | 6 +++--- samples/calc-02/index.html | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/samples/calc-02/index.css b/samples/calc-02/index.css index fb793a5..03dbb3a 100644 --- a/samples/calc-02/index.css +++ b/samples/calc-02/index.css @@ -130,9 +130,9 @@ body { .stack-cell { display: grid; - grid-template-columns: 2.2ch minmax(0, 1fr) auto; + grid-template-columns: 2.2ch auto minmax(0, 1fr); align-items: center; - gap: 12px; + gap: 8px; font-size: 20px; line-height: 1; min-height: 0; @@ -337,7 +337,7 @@ button:active { background: transparent; box-shadow: none; color: rgba(31, 42, 18, 0.58); - margin-left: 6px; + margin-left: 0; } .stack-cell:last-child { diff --git a/samples/calc-02/index.html b/samples/calc-02/index.html index e3403bb..7247ae1 100644 --- a/samples/calc-02/index.html +++ b/samples/calc-02/index.html @@ -14,10 +14,10 @@
-
T:
-
Z:
-
Y:
-
X:
+
T:
+
Z:
+
Y:
+
X: