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:

贡献者指南