govau/design-system-components

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

Open

#855 geöffnet am 23. Juli 2019

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)HTML (115 Forks)batch import
enhancementgood first issuesm7submitted by user

Repository-Metriken

Stars
 (741 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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:

Contributor Guide