govau/design-system-components

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

Open

#855 建立於 2019年7月23日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)HTML (115 fork)batch import
enhancementgood first issuesm7submitted by user

倉庫指標

Star
 (741 star)
PR 合併指標
 (30 天內沒有已合併 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:

貢獻者指南