mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 12:38:58 +08:00
* fix(ColorPicker): color clear deformation (#44258) * chore: merge styles
This commit is contained in:
parent
affd62f78c
commit
ce687c50b1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user