diff --git a/src/components/profile/ProfileCard.tsx b/src/components/profile/ProfileCard.tsx index ab07b49..c2d9fbd 100644 --- a/src/components/profile/ProfileCard.tsx +++ b/src/components/profile/ProfileCard.tsx @@ -271,8 +271,14 @@ export function ProfileCard({

Expertise:

+ {/* Separate long text entries from short tag entries */} + {expertise.filter(tag => tag.length > 60).length > 0 && ( +

+ {expertise.filter(tag => tag.length > 60).join(' ')} +

+ )}
- {expertise.map((tag, idx) => ( + {expertise.filter(tag => tag.length <= 60).map((tag, idx) => ( {tag} ))}
diff --git a/src/components/profile/Tag.tsx b/src/components/profile/Tag.tsx index 839cdd8..0cce37c 100644 --- a/src/components/profile/Tag.tsx +++ b/src/components/profile/Tag.tsx @@ -8,7 +8,7 @@ interface TagProps { export function Tag({ children, variant = 'default' }: TagProps) { return (