fix: overflowing text on teams page - using tailwind line-clamp (#2843)

Co-authored-by: gitstart <[email protected]>
Co-authored-by: Júlio Piubello da Silva Cabral <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-05-27 12:38:50 +02:00
1 parent 01025fa34c
commit d6678f9b3a
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ const Team = ({ team }: TeamPageProps) => {
imageSrc={WEBSITE_URL + "/" + member.username + "/avatar.png"}
className="-mt-4 h-12 w-12"
/>
<section className="mt-2 w-full space-y-1">
<section className="line-clamp-4 mt-2 w-full space-y-1">
<Text variant="title">{member.name}</Text>
<Text variant="subtitle" className="">
{member.bio || t("user_from_team", { user: member.name, team: team.name })}