fix(ColorPicker): color clear deformation (#44258) (#44273)

* fix(ColorPicker): color clear deformation (#44258)

* chore: merge styles
This commit is contained in:
kouchao 2023-08-18 10:04:01 +08:00 committed by GitHub
parent affd62f78c
commit ce687c50b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
@ -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,