🐛 Fix RangePicker style render bug in IE11 (#21587)

close #21559
This commit is contained in:
偏右 2020-02-25 18:14:17 +08:00 committed by GitHub
parent 55133b7757
commit 1f75773bf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -702,3 +702,16 @@
}
}
}
// Fix IE11 render bug by css hacks
// https://github.com/ant-design/ant-design/issues/21559
// https://codepen.io/afc163-1472555193/pen/mdJRaNj?editors=0110
/* stylelint-disable-next-line */
_:-ms-fullscreen, :root {
.@{picker-prefix-cls}-range-wrapper {
.@{picker-prefix-cls}-month-panel .@{picker-prefix-cls}-cell,
.@{picker-prefix-cls}-year-panel .@{picker-prefix-cls}-cell {
padding: 21px 0;
}
}
}