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/).
|
6 years ago |
afc163
|
aa2b1a4352
|
Merge branch 'master' into feature-3.8.0
|
6 years ago |
Jackie.Ls
|
9b150d9246
|
update (#11597)
|
6 years ago |
Bartek
|
b9c248f313
|
changing the interface of TreeSelect, updating docs (#11538)
|
6 years ago |
NumanHassan
|
a14ba62a07
|
Update index.en-US.md (#11587)
|
6 years ago |
Emerson Laurentino
|
0f9da43522
|
Avatar custom size (#11419)
* add avatar support custom size
* me added to author list and sorting alphabetically
* fix avatar sizeChildrenStyle preference
* fix authors
* fix snapshots
|
6 years ago |
Wei Zhu
|
bb29c46cda
|
Update ErrorBoundary.js
|
6 years ago |
Wu Haotian
|
57646f24db
|
fix: correct typing of RcFile. close #10331
|
6 years ago |
afc163
|
0587804fb1
|
Fix kcard.alipay.com issue, close #11349
|
6 years ago |
afc163
|
e397c094bb
|
site: Add ErrorBoundary for live demo, ref #11553
|
6 years ago |
afc163
|
7ec566928d
|
site: improve code style
|
6 years ago |
afc163
|
8dad311df0
|
Fix Slider demo error when input non-number string, close #11553
|
6 years ago |
afc163
|
471f9409f9
|
chore demo code style
|
6 years ago |
Eden Wang
|
f01d436dd5
|
add test case for input.group in tooltip
|
6 years ago |
Eden Wang
|
ed66395a12
|
export event for input.group
|
6 years ago |
Chandler Moisen
|
10f1c6ceaa
|
Modal.confirm title overflow:hidden
|
6 years ago |
Alexander Anpleenko
|
ac924d9443
|
fixed a word mistake
|
6 years ago |
17073025
|
c31371e5a6
|
fix(auto-complete): add missing autoFocus prop in type
|
6 years ago |
afc163
|
2f81349c21
|
fix error in typescript@3.x
|
6 years ago |
afc163
|
a06afee8b6
|
Merge branch 'master' into feature-3.8.0
|
6 years ago |
yoyo837
|
2e6a94a4de
|
update rc-dialog to use react-component/dialog#88
|
6 years ago |
yoyo837
|
eab74fa693
|
For #11537, Centered style should be applied to the wrap element.
|
6 years ago |
Wei Zhu
|
a3a0fb0aff
|
chore: use one worker on ci
|
6 years ago |
Juan Rodrigo Venegas Boesch
|
f4d631ddc2
|
CH md translation applied.
|
6 years ago |
Juan Rodrigo Venegas Boesch
|
73d708f1fa
|
Fixed the prefix oops.
|
6 years ago |
Juan Rodrigo Venegas Boesch
|
4ab281a494
|
snapshot updated
|
6 years ago |
Juan Rodrigo Venegas Boesch
|
dd3f520129
|
Translation added in CH. and pre-fix added to class
|
6 years ago |
Juan Rodrigo Venegas Boesch
|
04a1808fc3
|
overflow fix
Preventing from text to overflow the designed area.
|
6 years ago |
Juan Rodrigo Venegas Boesch
|
121efd1f4c
|
Timeline design change feature
added a new prop to timeline called mode where you can send 'alternate' to change the timeline design and 'right' to flip horizontally.
|
6 years ago |
Kian
|
6a28b44eca
|
add tagPrefixCls props
|
6 years ago |
yoyo837
|
f14e207912
|
Boolean
|
6 years ago |
yoyo837
|
45e9b2a937
|
fix prefixCls is missing in restProps
|
6 years ago |
yoyo837
|
ef31697d26
|
Support centered settings
|
6 years ago |
Ilan
|
d7a9783299
|
✅ update button snapshots
|
6 years ago |
Ilan
|
b5ed207902
|
🚚 fitContainer -> block name conversion
|
6 years ago |
Ilan
|
8fab1e1d1b
|
🐛 update fitContainer order
|
6 years ago |
Ilan
|
5536a4ca3b
|
📝 update chinese button api doc
|
6 years ago |
Ilan
|
9742be40a7
|
📝 update button api docs
|
6 years ago |
Ilan
|
623cf1eaff
|
✨ introducing fitContainer prop for button
|
6 years ago |
afc163
|
aa6b55be7e
|
clean up unused code
|
6 years ago |
afc163
|
a3d821a534
|
Add @types/classnames
|
6 years ago |
afc163
|
0156fef165
|
fix tabs ci in React 15
|
6 years ago |
Lucien Lee
|
7c43bc553f
|
change message type to React.ReactNode
|
6 years ago |
Lucien Lee
|
6606aad391
|
allow validator message as ReactChild
|
6 years ago |
Ooi Yee Wei
|
c849a73f4e
|
First commit
|
6 years ago |
afc163
|
56fa8629b5
|
Merge branch 'master' into feature-3.8.0
|
6 years ago |
tangjinzhou
|
92dc0dc2b0
|
feat: add onChange for Calendar
|
6 years ago |
Wei Zhu
|
d7ca64b95c
|
docs: add resizable column table demo
|
6 years ago |
Wei Zhu
|
05ca7a559a
|
chore: fix dir copy
|
6 years ago |
Wei Zhu
|
a5ee1c4899
|
chore: add nightly build and ignore gh-pages
|
6 years ago |