diff --git a/components/carousel/style/index.less b/components/carousel/style/index.less index 613f42bcb3f..64d1267c712 100644 --- a/components/carousel/style/index.less +++ b/components/carousel/style/index.less @@ -27,6 +27,14 @@ &.dragging { cursor: pointer; } + + .slick-slide { + pointer-events: none; + + &.slick-active { + pointer-events: auto; + } + } } .slick-slider .slick-track, .slick-slider .slick-list { diff --git a/components/checkbox/style/mixin.less b/components/checkbox/style/mixin.less index c95686aa88b..81fc57010ba 100644 --- a/components/checkbox/style/mixin.less +++ b/components/checkbox/style/mixin.less @@ -46,7 +46,7 @@ display: block; width: @checkbox-size; height: @checkbox-size; - border: @border-width-base @border-style-base @border-color-base; + border: @checkbox-border-width @border-style-base @border-color-base; border-radius: @border-radius-sm; background-color: @checkbox-check-color; transition: all .3s; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 4e287706580..7de75b370de 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -160,6 +160,7 @@ @checkbox-size : 16px; @checkbox-color : @primary-color; @checkbox-check-color : #fff; +@checkbox-border-width : @border-width-base; // Radio @radio-size : 16px; diff --git a/components/switch/style/index.less b/components/switch/style/index.less index 6fb4feb796f..51dbdadef7a 100644 --- a/components/switch/style/index.less +++ b/components/switch/style/index.less @@ -153,8 +153,11 @@ &-loading, &-disabled { - pointer-events: none; + cursor: not-allowed; opacity: @switch-disabled-opacity; + * { + cursor: not-allowed; + } } } diff --git a/components/time-picker/style/index.less b/components/time-picker/style/index.less index e22a54edf40..1ddca1af10c 100644 --- a/components/time-picker/style/index.less +++ b/components/time-picker/style/index.less @@ -25,6 +25,7 @@ } &-input { + width: 100%; margin: 0; padding: 0; border: 0;