client: switch picker padding to em units, not fixed px

Per feedback on #74 — fixed-px padding would silently need re-tuning
again if .picker-count's font-size ever changes. em is relative to
this rule's own font-size, so the fix scales with it automatically.
This commit is contained in:
iris 2026-08-03 17:38:08 +02:00
commit e0bcfad784

View file

@ -215,9 +215,11 @@ button.danger { background: #5a2a2a; border-color: #7a3a3a; color: #fff; }
width per cell in this 5-column grid workable for a single digit
("1".."5") but not the two-character "1".."5" remove-row labels,
which overflowed into the next cell and got visually clipped by its
opaque background. Horizontal-only override keeps the existing
vertical spacing/centering, just frees up room sideways. */
padding: 12px 4px;
opaque background. `em` (relative to this rule's own font-size,
not a fixed px) so the fix keeps working if font-size ever changes
instead of quietly re-breaking mara's ask on the PR. Horizontal-
only, vertical spacing/centering untouched. */
padding: 0.46em 0.15em;
font-size: 26px;
font-weight: 800;
}