Browse Source

Merge pull request #623 from ant-design/fix-select

fix: the cursor should be `not-allowed`
pull/619/head
afc163 9 years ago
parent
commit
fc2edb386c
  1. 2
      package.json
  2. 7
      style/components/select.less

2
package.json

@ -52,7 +52,7 @@
"rc-progress": "~1.0.4",
"rc-queue-anim": "~0.11.2",
"rc-radio": "~2.0.0",
"rc-select": "~5.1.2",
"rc-select": "~5.4.0",
"rc-slider": "~3.1.2",
"rc-steps": "~1.4.1",
"rc-switch": "~1.3.1",

7
style/components/select.less

@ -81,8 +81,6 @@
&-disabled {
color: #ccc;
cursor: not-allowed;
pointer-events: none;
}
&-disabled &-selection {
@ -92,6 +90,10 @@
}
}
&-disabled &-selection--single {
cursor: not-allowed;
}
&-selection--single {
height: 28px;
cursor: pointer;
@ -416,7 +418,6 @@
&-disabled {
color: #ccc;
cursor: not-allowed;
pointer-events: none;
&:hover {
color: #ccc;

Loading…
Cancel
Save