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 {