perf: long org name ui (#4347)

* sync collection

* remove lock

* perf: long org name ui
This commit is contained in:
Archer
2025-03-26 22:22:20 +08:00
committed by archer
parent 2ebb2ccc9c
commit f3a069bc80
3 changed files with 9 additions and 2 deletions

View File

@@ -44,6 +44,8 @@ const FolderPath = (props: {
py={0.5}
px={1.5}
borderRadius={'md'}
maxW={'45vw'}
className={'textEllipsis'}
{...(i === concatPaths.length - 1
? {
cursor: 'default',

View File

@@ -11,7 +11,7 @@ function MemberTag({ name, avatar }: Props) {
return (
<HStack>
{avatar && <Avatar src={avatar} w={['18px', '22px']} rounded="50%" />}
<Box maxW={'150px'} className={'textEllipsis'}>
<Box maxW={'45vw'} className={'textEllipsis'} fontSize={'sm'}>
{name || '-'}
</Box>
</HStack>