From a83370900a4abcb8d86bc979e56452e90537b009 Mon Sep 17 00:00:00 2001 From: malonehunter Date: Sun, 13 Sep 2026 00:26:13 -0400 Subject: [PATCH] calc: Query button auto-width symmetric padding (parity with production) Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01LmGTn96JVn6xPNNTTW77g1 --- calc/styles.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/calc/styles.css b/calc/styles.css index e3e2037..910b767 100644 --- a/calc/styles.css +++ b/calc/styles.css @@ -1018,16 +1018,16 @@ body { } #queryDBbtn { background-color: var(--input-bg-accent); - /* center the "\1F52E Query" value both axes: border-box so the 1px border doesn't bias width, - symmetric zero padding, and an explicit line-height so the emoji's tall line box doesn't push - the baseline down (was reading as extra top/left padding). */ + /* "\1F52E Query" was left-biased: the value is ~70px in a fixed 75px button, so text-align:center + left a right-hand gap that read as extra left padding. Hug the content with symmetric horizontal + padding (width:auto) so the orb and label sit centered with equal space either side. Verified + headless (q2-D). box-sizing keeps the 1px border out of the width math. */ box-sizing: border-box; - padding: 0em; + width: auto; + min-width: 75px; + padding: 0 0.6em; margin: 0em 0.3em; - width: 75px; text-align: center; - line-height: 1; - vertical-align: middle; } #enterPhraseBtn, #autoMatchBtn {