Browse Source

fix: Date Picker disabled style (#21655)

* fix https://github.com/ant-design/ant-design/issues/21644

* 修复样式前缀,应该采用getPrefixCls来进行获取

* fix: 不应该直接使用input的样式

* 修复代码风格

* 修复空格问题,并且采用less变量

* 添加cursor样式,补充禁用的时候指针样式丢失

* 添加less样式,修复鼠标指针的问题。

* 修复空格问题
pull/21887/head
zhangj 5 years ago
committed by GitHub
parent
commit
b81e3e9af0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/date-picker/style/Picker.less

4
components/date-picker/style/Picker.less

@ -102,6 +102,10 @@
line-height: 1;
}
.@{ant-prefix}-input-disabled + &-icon {
cursor: not-allowed;
}
&-small &-clear,
&-small &-icon {
right: @control-padding-horizontal-sm;

Loading…
Cancel
Save