diff --git a/src/components/common/user/UserBadges.tsx b/src/components/common/user/UserBadges.tsx index b14d8c6a..d2a6f3ff 100644 --- a/src/components/common/user/UserBadges.tsx +++ b/src/components/common/user/UserBadges.tsx @@ -22,12 +22,11 @@ enum Badges { const BadgesBase = styled.div` gap: 8px; display: flex; - margin-top: 4px; flex-direction: row; img { - width: 32px; - height: 32px; + width: 24px; + height: 24px; } `; @@ -103,7 +102,7 @@ export default function UserBadges({ badges, uid }: Props) { content={ }> - + ) : ( <> diff --git a/src/controllers/modals/components/legacy/UserProfile.tsx b/src/controllers/modals/components/legacy/UserProfile.tsx index 299eb68b..c1c9dddf 100644 --- a/src/controllers/modals/components/legacy/UserProfile.tsx +++ b/src/controllers/modals/components/legacy/UserProfile.tsx @@ -236,6 +236,21 @@ export const UserProfile = observer( )} + {badges > 0 && ( +
+ +
+ )}
{tab === "profile" && - (profile?.content || - badges > 0 || - flags > 0 || - user.bot ? ( + (profile?.content || flags > 0 || user.bot ? (
{flags & 1 ? ( /** ! FIXME: i18n this area */ @@ -320,17 +332,6 @@ export const UserProfile = observer(
) : undefined} - {badges > 0 && ( -
- -
- )} - {badges > 0 && ( - - )} {profile?.content && ( <>