perf: 运行详情弹窗优化 (#2192)

* perf: 运行详情弹窗优化

* style: 调整样式

* style: 弹窗样式优化&&应用切换圆角添加

* fix: 修复编译错误
This commit is contained in:
papapatrick
2024-07-29 18:36:13 +08:00
committed by GitHub
parent 5cecef5836
commit e27abe1f6b
6 changed files with 376 additions and 94 deletions

View File

@@ -174,7 +174,7 @@ const MobileDrawer = ({
onClick: () => onclickApp(item._id)
})}
>
<Avatar src={item.avatar} w={'24px'} />
<Avatar src={item.avatar} w={'24px'} borderRadius={'sm'} />
<Box ml={2} className={'textEllipsis'}>
{item.name}
</Box>
@@ -223,7 +223,7 @@ const MobileHeader = ({
)}
<Flex px={3} alignItems={'center'} flex={'1 0 0'} w={0} justifyContent={'center'}>
<Flex alignItems={'center'} onClick={toggleDrawer}>
<Avatar src={avatar} w={'1rem'} />
<Avatar borderRadius={'sm'} src={avatar} w={'1rem'} />
<Box ml={1} className="textEllipsis">
{name}
</Box>