pl-fe: Truncate account note on suggestions page

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-11-04 20:11:14 +01:00
parent f7414a2470
commit 592011a023

View file

@ -358,6 +358,7 @@ const Account = ({
<Text <Text
truncate truncate
size='sm' size='sm'
className='line-clamp-2 inline text-ellipsis [&_br]:hidden [&_p:first-child]:inline [&_p:first-child]:truncate [&_p]:hidden'
> >
<ParsedContent html={account.note} emojis={account.emojis} /> <ParsedContent html={account.note} emojis={account.emojis} />
</Text> </Text>