mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-25 07:38:15 +08:00
fix: update background gradient and line positioning in Empty component (#19745)
This commit is contained in:
parent
6d7f43b901
commit
f8a9c363ba
@ -47,14 +47,14 @@ const Empty = () => {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
{/* mask */}
|
{/* mask */}
|
||||||
<div className='absolute z-20 h-full w-full bg-gradient-to-b from-background-gradient-mask-transparent to-white' />
|
<div className='absolute z-20 h-full w-full bg-gradient-to-b from-components-panel-bg-transparent to-components-panel-bg' />
|
||||||
<div className='relative z-30 flex h-full items-center justify-center'>
|
<div className='relative z-30 flex h-full items-center justify-center'>
|
||||||
<div className='flex flex-col items-center gap-y-3'>
|
<div className='flex flex-col items-center gap-y-3'>
|
||||||
<div className='relative -z-10 flex h-[52px] w-[52px] items-center justify-center rounded-xl
|
<div className='relative -z-10 flex h-[52px] w-[52px] items-center justify-center rounded-xl
|
||||||
border-[1px] border-dashed border-divider-deep bg-components-card-bg shadow-xl shadow-shadow-shadow-5'>
|
border-[1px] border-dashed border-divider-deep bg-components-card-bg shadow-xl shadow-shadow-shadow-5'>
|
||||||
<Group className='h-5 w-5 text-text-tertiary' />
|
<Group className='h-5 w-5 text-text-tertiary' />
|
||||||
<Line className='absolute -right-[1px] top-1/2 -translate-y-1/2' />
|
<Line className='absolute right-[-1px] top-1/2 -translate-y-1/2' />
|
||||||
<Line className='absolute -left-[1px] top-1/2 -translate-y-1/2' />
|
<Line className='absolute left-[-1px] top-1/2 -translate-y-1/2' />
|
||||||
<Line className='absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rotate-90' />
|
<Line className='absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rotate-90' />
|
||||||
<Line className='absolute left-1/2 top-full -translate-x-1/2 -translate-y-1/2 rotate-90' />
|
<Line className='absolute left-1/2 top-full -translate-x-1/2 -translate-y-1/2 rotate-90' />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user