Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addOn font size should be 16 when control size is large #43993

Closed
donysukardi opened this issue Aug 3, 2023 · 1 comment · Fixed by #44000
Closed

addOn font size should be 16 when control size is large #43993

donysukardi opened this issue Aug 3, 2023 · 1 comment · Fixed by #44000
Labels
improvement improve some features

Comments

@donysukardi
Copy link
Contributor

donysukardi commented Aug 3, 2023

What problem does this feature solve?

image

Inconsistency between using text or component for addon, as component will inherit the size set in the Form, causing it to show fontSize 16, whereas addon text stays at 14

What does the proposed API look like?

.ant-input-group-wrapper-lg .ant-input-group-addon {
  font-size: 16px;
}

.ant-input-number-lg   .ant-input-number-group-addon {
  font-size: 16px;
}
@MadCcc
Copy link
Member

MadCcc commented Aug 3, 2023

It makes sense. PR is welcome~

@MadCcc MadCcc added improvement improve some features and removed unconfirmed labels Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement improve some features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants