fix username spacing with lots of user badges
All checks were successful
Deploy Site / docker (ubuntu-latest, 2.44.0) (push) Successful in 1m8s

This commit is contained in:
Braydon 2024-09-10 18:33:12 -04:00
parent aa056e20cc
commit 30030722ce

View File

@ -36,7 +36,12 @@ const DiscordStatus = (): ReactElement | undefined => {
{discordUser.bio && <Bio bio={discordUser.bio} />}
<Badges discordUser={discordUser} />
</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} />
{/* Activity */}