Commit 597053c3 authored by JzoNg's avatar JzoNg

fix style of app info

parent 29bef1e3
...@@ -156,7 +156,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => { ...@@ -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={cn('flex cursor-pointer p-1 rounded-lg hover:bg-gray-100', open && 'bg-gray-100')}>
<div className='shrink-0 mr-2'> <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> </div>
{expand && ( {expand && (
<div className="grow w-0"> <div className="grow w-0">
......
...@@ -74,6 +74,9 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf ...@@ -74,6 +74,9 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf
/> />
)} )}
</div> </div>
{!expand && (
<div className='mt-1 mx-auto w-6 h-[1px] bg-gray-100'/>
)}
<nav <nav
className={` className={`
grow space-y-1 bg-white grow space-y-1 bg-white
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment