govau/design-system-components

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

Open

#855 opened on Jul 23, 2019

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

Repository metrics

Stars
 (741 stars)
PR merge metrics
 (No merged PRs in 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:

Contributor guide