Skip to content

Commit

Permalink
fix: [color-picker] 将rotate样式属性改为兼容性更高的transform:rotate()方法 fix #967
Browse files Browse the repository at this point in the history
  • Loading branch information
邵祺 authored and albyben committed Nov 29, 2024
1 parent 7535fa1 commit a4ffc49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/color-picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
width: @color-picker-input-prefix-line-sizing-width;
height: @color-picker-input-prefix-line-sizing-height;
background-color: #ff2e3d;
rotate: 45deg;
transform: rotate(45deg);
}
}
}
Expand Down Expand Up @@ -118,7 +118,7 @@
width: 1px;
height: 22.6px;
background-color: #ff2e3d;
rotate: 45deg;
transform: rotate(45deg);
}

.active {
Expand Down

0 comments on commit a4ffc49

Please sign in to comment.