mirror of https://github.com/langgenius/dify.git
fix style of app info
This commit is contained in:
parent
29bef1e3ab
commit
597053c30e
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue