fix style of app info

This commit is contained in:
JzoNg 2024-03-08 00:43:12 +08:00
parent 29bef1e3ab
commit 597053c30e
2 changed files with 4 additions and 1 deletions

View File

@ -156,7 +156,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => {
>
<div className={cn('flex cursor-pointer p-1 rounded-lg hover:bg-gray-100', open && 'bg-gray-100')}>
<div className='shrink-0 mr-2'>
<AppIcon size={expand ? 'large' : 'medium'} icon={appDetail.icon} background={appDetail.icon_background} />
<AppIcon size={expand ? 'large' : 'small'} icon={appDetail.icon} background={appDetail.icon_background} />
</div>
{expand && (
<div className="grow w-0">

View File

@ -74,6 +74,9 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf
/>
)}
</div>
{!expand && (
<div className='mt-1 mx-auto w-6 h-[1px] bg-gray-100'/>
)}
<nav
className={`
grow space-y-1 bg-white