Browse Source

Fix Checkbox check rotate in IE8, close #2148

pull/2160/head
afc163 9 years ago
parent
commit
3310f59d20
  1. 18
      components/checkbox/style/mixin.less

18
components/checkbox/style/mixin.less

@ -177,4 +177,22 @@
display: inline-block;
}
}
@ie8: \0screen;
// IE8 hack for https://github.com/ant-design/ant-design/issues/2148
@media @ie8 {
.@{checkbox-prefix-cls}-checked .@{checkbox-prefix-cls}-inner:before,
.@{checkbox-prefix-cls}-checked .@{checkbox-prefix-cls}-inner:after {
font-family: 'anticon';
content: '\E62E';
font-weight: bold;
font-size: 8px;
border: 0;
color: #fff;
left: 2px;
top: 3px;
position: absolute;
}
}
}

Loading…
Cancel
Save