govau/design-system-components

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

Open

#855 aberto em 23 de jul. de 2019

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)HTML (115 forks)batch import
enhancementgood first issuesm7submitted by user

Métricas do repositório

Stars
 (741 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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:

Guia do colaborador