ant-design/components/date-picker
Thibault Derousseaux 43abea3212 Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422.
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric) that can be set to `tabular-nums`.

This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/).
2018-08-04 11:28:14 +08:00
..
__tests__ chore: add tests for b9992f4 2018-07-25 16:31:18 +08:00
demo 💬 misc typos and blank spaces fixes 2018-07-29 01:15:02 +08:00
locale Slovenian locale added (sl_SI) (#9724) 2018-03-26 11:44:27 +08:00
style Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
createPicker.tsx Merge branch 'master' into feature-3.8.0 2018-07-29 15:06:36 +08:00
index.en-US.md bugfix: Chinese doc website date-picker demo link go to English website 2018-07-18 20:07:22 +08:00
index.tsx Use week year 2018-03-01 17:24:06 +08:00
index.zh-CN.md bugfix: Chinese doc website date-picker demo link go to English website 2018-07-18 20:07:22 +08:00
interface.tsx Merge branch 'feature-3.3.0' 2018-03-11 14:50:25 +08:00
RangePicker.tsx add tagPrefixCls props 2018-07-31 21:15:10 +08:00
WeekPicker.tsx Migrated to new lifecycle method for datepiceker (#10309) 2018-07-19 11:26:47 +08:00
wrapPicker.tsx export mouse enter and mouse leave event for datepicker 2018-07-29 12:41:46 +08:00