mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-24 20:47:46 +00:00
refactor: Simplify AppContent component by removing unnecessary div and flex container
This commit is contained in:
parent
cbfd3d2c8e
commit
00d9e51495
@ -308,15 +308,14 @@ export default function AppContent() {
|
|||||||
className='w-[230px] h-[40px] border-1 border-white backdrop-filter backdrop-blur-lg bg-white bg-opacity-30 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60'
|
className='w-[230px] h-[40px] border-1 border-white backdrop-filter backdrop-blur-lg bg-white bg-opacity-30 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60'
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className='flex items-center gap-4 h-10'>
|
|
||||||
<Button
|
<Button
|
||||||
className='border-none text-white bg-button-gradient h-full flex items-center'
|
className='border-none text-white bg-button-gradient flex items-center'
|
||||||
icon={<PlusOutlined className='text-base' />}
|
icon={<PlusOutlined className='text-base' />}
|
||||||
onClick={handleCreate}
|
onClick={handleCreate}
|
||||||
>
|
>
|
||||||
{t('create_app')}
|
{t('create_app')}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div className=' w-full flex flex-wrap pb-12 mx-[-8px]'>
|
<div className=' w-full flex flex-wrap pb-12 mx-[-8px]'>
|
||||||
{apps.map(item => {
|
{apps.map(item => {
|
||||||
|
Loading…
Reference in New Issue
Block a user