mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
fix iconfont-size-under-12px mixin
This commit is contained in:
parent
5aea5b24ef
commit
0d013be7fa
@ -27,7 +27,7 @@
|
||||
// fix chrome 12px bug, support ie
|
||||
.iconfont-size-under-12px(@size, @rotate: 0deg) {
|
||||
display: inline-block;
|
||||
@font-scale: unit(@size / @font-size-base);
|
||||
@font-scale: unit(@size / 12px);
|
||||
font-size: @font-size-base;
|
||||
font-size: ~"@{size} \9"; // ie8-9
|
||||
transform: scale(@font-scale) rotate(@rotate);
|
||||
|
Loading…
Reference in New Issue
Block a user