govau/design-system-components

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

Open

#855 opened on 2019年7月23日

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
 (30d に merged PR はありません)

説明

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:

コントリビューターガイド