Skip to content

Commit

Permalink
style: addon size should inherit from props (#44000)
Browse files Browse the repository at this point in the history
* style: addon size should inherit from props

* fix: do not inherit when size equals small
  • Loading branch information
MuxinFeng committed Aug 4, 2023
1 parent 58feeee commit 63bb664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/input-number/style/index.ts
Expand Up @@ -163,6 +163,7 @@ const genInputNumberStyles: GenerateStyle<InputNumberToken> = (token: InputNumbe
'&-lg': {
[`${componentCls}-group-addon`]: {
borderRadius: borderRadiusLG,
fontSize: token.fontSizeLG,
},
},
'&-sm': {
Expand Down
1 change: 1 addition & 0 deletions components/input/style/index.ts
Expand Up @@ -700,6 +700,7 @@ const genGroupStyle: GenerateStyle<InputToken> = (token: InputToken) => {
'&-lg': {
[`${componentCls}-group-addon`]: {
borderRadius: borderRadiusLG,
fontSize: token.fontSizeLG,
},
},
'&-sm': {
Expand Down

0 comments on commit 63bb664

Please sign in to comment.