diff --git a/frontend/src/routes/profile.tsx b/frontend/src/routes/profile.tsx index 012a408..6ec03a1 100644 --- a/frontend/src/routes/profile.tsx +++ b/frontend/src/routes/profile.tsx @@ -177,7 +177,7 @@ export default function Profile() { ) )} - {profile.followedTags && ( + {profile.followedTags && profile.followedTags.length > 0 ? (
@@ -189,13 +189,14 @@ export default function Profile() { )) .slice(0, 3)} - {profile.followedTags?.length && - profile.followedTags?.length > 3 && ( - + {profile.followedTags?.length - 3} more - )} + {profile.followedTags?.length > 3 && ( + + {profile.followedTags?.length - 3} more + )}
+ ) : ( +
No followed tags to show.
)}
diff --git a/frontend/src/routes/tag.tsx b/frontend/src/routes/tag.tsx index 8811cbc..d81a16e 100644 --- a/frontend/src/routes/tag.tsx +++ b/frontend/src/routes/tag.tsx @@ -114,7 +114,7 @@ export default function TagPage() { src={tag?.logoImage || "https://placehold.co/400x300"} alt={`${tag.name} logo`} title={`alt:The logo image of ${tag.name}`} - className="h-48 w-full rounded-3xl object-contain lg:h-96" + className="h-20 w-full rounded-3xl object-contain lg:h-40" /> )}