Skip to content

Commit

Permalink
chore: update styles(ant-design 3.10.9) (#2525)
Browse files Browse the repository at this point in the history
  • Loading branch information
ng-zorro-bot authored and vthinkxie committed Nov 30, 2018
1 parent c13fdb8 commit 0f4c02c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions components/carousel/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion components/checkbox/style/mixin.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 4 additions & 1 deletion components/switch/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,11 @@

&-loading,
&-disabled {
pointer-events: none;
cursor: not-allowed;
opacity: @switch-disabled-opacity;
* {
cursor: not-allowed;
}
}
}

Expand Down
1 change: 1 addition & 0 deletions components/time-picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
}

&-input {
width: 100%;
margin: 0;
padding: 0;
border: 0;
Expand Down

0 comments on commit 0f4c02c

Please sign in to comment.