Browse Source

fix iconfont-size mixin

pull/54/head
afc163 9 years ago
parent
commit
b856228e13
  1. 1
      style/mixins/compatibility.less

1
style/mixins/compatibility.less

@ -19,6 +19,7 @@
// for iconfont font size
// fix chrome 12px bug, support ie
.iconfont-size-under-12px(@iconfontSize) {
display: inline-block;
@font-scale: unit(@iconfontSize/@font-size-base);
font-size: @font-scale;
font-size: ~"@{iconfontSize} \9"; // ie8-9

Loading…
Cancel
Save