fix cascader style selector priority, close #5078

This commit is contained in:
afc163 2017-02-28 11:28:49 +08:00
parent 4875908807
commit d0f31f39a3

View File

@ -8,7 +8,9 @@
font-size: @font-size-base;
&-input.@{ant-prefix}-input {
background-color: transparent;
// Add important to fix https://github.com/ant-design/ant-design/issues/5078
// because input.less will compile after cascader.less
background-color: transparent!important;
cursor: pointer;
width: 100%;
z-index: 1;