Standalone Badge is vertically offset #12419
Closed
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 |
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: