calc: Query button auto-width symmetric padding (parity with production)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LmGTn96JVn6xPNNTTW77g1
This commit is contained in:
1 parent
8562ab8edd
commit
a83370900a
1 file changed
+7
-7
+7
-7
@@ -1018,16 +1018,16 @@ body {
|
|||||||
}
|
}
|
||||||
#queryDBbtn {
|
#queryDBbtn {
|
||||||
background-color: var(--input-bg-accent);
|
background-color: var(--input-bg-accent);
|
||||||
/* center the "\1F52E Query" value both axes: border-box so the 1px border doesn't bias width,
|
/* "\1F52E Query" was left-biased: the value is ~70px in a fixed 75px button, so text-align:center
|
||||||
symmetric zero padding, and an explicit line-height so the emoji's tall line box doesn't push
|
left a right-hand gap that read as extra left padding. Hug the content with symmetric horizontal
|
||||||
the baseline down (was reading as extra top/left padding). */
|
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;
|
box-sizing: border-box;
|
||||||
padding: 0em;
|
width: auto;
|
||||||
|
min-width: 75px;
|
||||||
|
padding: 0 0.6em;
|
||||||
margin: 0em 0.3em;
|
margin: 0em 0.3em;
|
||||||
width: 75px;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 1;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
#enterPhraseBtn,
|
#enterPhraseBtn,
|
||||||
#autoMatchBtn {
|
#autoMatchBtn {
|
||||||
|
|||||||
Reference in new issue
Block a user