fix username spacing with lots of user badges
All checks were successful
Deploy Site / docker (ubuntu-latest, 2.44.0) (push) Successful in 1m8s
All checks were successful
Deploy Site / docker (ubuntu-latest, 2.44.0) (push) Successful in 1m8s
This commit is contained in:
parent
aa056e20cc
commit
30030722ce
@ -36,7 +36,12 @@ const DiscordStatus = (): ReactElement | undefined => {
|
|||||||
{discordUser.bio && <Bio bio={discordUser.bio} />}
|
{discordUser.bio && <Bio bio={discordUser.bio} />}
|
||||||
<Badges discordUser={discordUser} />
|
<Badges discordUser={discordUser} />
|
||||||
</div>
|
</div>
|
||||||
<div className={discordUser.banner ? "mt-3" : "mt-6"}>
|
<div
|
||||||
|
className={cn(
|
||||||
|
discordUser.badges.length < 5 &&
|
||||||
|
(discordUser.banner ? "mt-3" : "mt-6")
|
||||||
|
)}
|
||||||
|
>
|
||||||
<Username discordUser={discordUser} />
|
<Username discordUser={discordUser} />
|
||||||
|
|
||||||
{/* Activity */}
|
{/* Activity */}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user