chore: layout UI upgrade (#6577)

This commit is contained in:
Joel
2024-07-23 17:11:02 +08:00
committed by GitHub
parent ad7552ea8d
commit 6a9d202414
13 changed files with 51 additions and 19 deletions

View File

@@ -49,7 +49,7 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf
return (
<div
className={`
shrink-0 flex flex-col bg-white border-r border-gray-200 transition-all
shrink-0 flex flex-col bg-background-default-subtle border-r border-divider-burn transition-all
${expand ? 'w-[216px]' : 'w-14'}
`}
>
@@ -60,7 +60,7 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf
`}
>
{iconType === 'app' && (
<AppInfo expand={expand}/>
<AppInfo expand={expand} />
)}
{iconType !== 'app' && (
<AppBasic
@@ -74,11 +74,11 @@ const AppDetailNav = ({ title, desc, icon, icon_background, navigation, extraInf
)}
</div>
{!expand && (
<div className='mt-1 mx-auto w-6 h-[1px] bg-gray-100'/>
<div className='mt-1 mx-auto w-6 h-[1px] bg-divider-subtle' />
)}
<nav
className={`
grow space-y-1 bg-white
grow space-y-1
${expand ? 'p-4' : 'px-2.5 py-4'}
`}
>