Centers filter chip labels vertically in their pills #88

Merged
natemsz merged 1 commit from fix/fit-chip-centering into main 2026-11-02 05:48:10 +00:00
Owner

The source filter chips on My Loadouts (and the same anchor chips on Public Fits and the fit browser) sit at the top of their pills on touch devices. The coarse-pointer block grows .chip to a 2.5rem floor, but the a.chip rule aligns items on the baseline with higher specificity, so the label hugs the top of the taller pill. Measured before: 4.4px of space above the label, 20.6px below. This changes a.chip to align-items: center. Measured after: 12px above, 13px below in the same 40px pill.

The source filter chips on My Loadouts (and the same anchor chips on Public Fits and the fit browser) sit at the top of their pills on touch devices. The coarse-pointer block grows .chip to a 2.5rem floor, but the a.chip rule aligns items on the baseline with higher specificity, so the label hugs the top of the taller pill. Measured before: 4.4px of space above the label, 20.6px below. This changes a.chip to align-items: center. Measured after: 12px above, 13px below in the same 40px pill.
Centers filter chip labels vertically in their pills
All checks were successful
github/analysis Analysis gate on GitHub runners
github/core-only Core-only gate on GitHub runners
github/test Test gate on GitHub runners
github/race Race gate on GitHub runners
e8d337f1cb
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
EveSynapse/evesynapse!88
No description provided.