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
Standalone Badge is vertically offset #12419
Comments
@afc163 , could you pls take a look why remove the |
<Badge><span style={{ verticalAlign: 'top' }} /></ Badge>
<Badge><span style={{ verticalAlign: 'top' }} /></ Badge>
<Badge><span style={{ verticalAlign: 'top' }} /></ Badge> For not changing vertical align of wrapped element. I should put |
badge单独使用加上vertical-align: middle后,在table行中会下对齐,也不太对 @afc163 |
1 similar comment
badge单独使用加上vertical-align: middle后,在table行中会下对齐,也不太对 @afc163 |
1 task
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.9.3
Environment
any
Reproduction link
Steps to reproduce
Since
v3.9.3
, setting a standaloneBadge
(withcount
lower than 100) makes it go up, not aligned with the text like it was before this version. And settingoffset
doesn't help.What is expected?
Badge to be aligned to text
What is actually happening?
Badge is offset vertically to the top
You can even see this bug in
Badge
documentation page, in the "Standalone" sectionThe text was updated successfully, but these errors were encountered: