govau/design-system-components

`.au-text-input--number`: monospaced font, or font-variant property?

Open

#855 aperta il 23 lug 2019

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)HTML (115 fork)batch import
enhancementgood first issuesm7submitted by user

Metriche repository

Star
 (741 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Right now, if we add the au-text-input--number it uses our monospace font like so:

It feels kind a bit inconsistent, having different font for number inputs.

image

I think we could make use of the font-variant: tabular-nums property, and keep the letter spacing, so it looks a bit like this instead:

Guida contributor