Skip to content

Commit

Permalink
fix(ColorPicker): color clear deformation (#44258) (#44273)
Browse files Browse the repository at this point in the history
* fix(ColorPicker): color clear deformation (#44258)

* chore: merge styles
  • Loading branch information
kouchao committed Aug 18, 2023
1 parent affd62f commit ce687c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/color-picker/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const genSizeStyle = (token: ColorPickerToken): CSSObject => {
minWidth: controlHeightLG,
height: controlHeightLG,
borderRadius: borderRadiusLG,
[`${componentCls}-color-block`]: {
[`${componentCls}-color-block, ${componentCls}-clear`]: {
width: controlHeight,
height: controlHeight,
borderRadius,
Expand All @@ -147,7 +147,7 @@ const genSizeStyle = (token: ColorPickerToken): CSSObject => {
minWidth: controlHeightSM,
height: controlHeightSM,
borderRadius: borderRadiusSM,
[`${componentCls}-color-block`]: {
[`${componentCls}-color-block, ${componentCls}-clear`]: {
width: controlHeightXS,
height: controlHeightXS,
borderRadius: borderRadiusXS,
Expand Down

0 comments on commit ce687c5

Please sign in to comment.