perf: intro wrap (#4346)

* sync collection

* remove lock

* perf: intro wrap
This commit is contained in:
Archer
2025-03-26 21:38:52 +08:00
committed by GitHub
parent 4faea8d2b8
commit 097bb97417
2 changed files with 4 additions and 2 deletions

View File

@@ -212,7 +212,9 @@ const ListItem = () => {
fontSize={'xs'} fontSize={'xs'}
color={'myGray.500'} color={'myGray.500'}
> >
<Box className={'textEllipsis2'}>{app.intro || t('common:common.no_intro')}</Box> <Box className={'textEllipsis2'} whiteSpace={'pre-wrap'}>
{app.intro || t('common:common.no_intro')}
</Box>
</Box> </Box>
<Flex <Flex
h={'24px'} h={'24px'}

View File

@@ -239,8 +239,8 @@ function List() {
<Box <Box
flex={1} flex={1}
className={'textEllipsis3'} className={'textEllipsis3'}
whiteSpace={'pre-wrap'}
py={3} py={3}
wordBreak={'break-all'}
fontSize={'xs'} fontSize={'xs'}
color={'myGray.500'} color={'myGray.500'}
> >