govau/design-system-components

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

Open

#855 ouverte le 23 juil. 2019

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)HTML (115 forks)batch import
enhancementgood first issuesm7submitted by user

Métriques du dépôt

Stars
 (741 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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:

Guide contributeur