mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-17 09:05:55 +08:00
fix: remove image item
This commit is contained in:
parent
8fe5028f74
commit
81e57bcc73
@ -42,7 +42,7 @@ const FileImageItem = ({
|
|||||||
{
|
{
|
||||||
showDeleteAction && (
|
showDeleteAction && (
|
||||||
<Button
|
<Button
|
||||||
className='hidden group-hover/file-image:flex absolute -right-1.5 -top-1.5 p-0 w-5 h-5 rounded-full z-10'
|
className='hidden group-hover/file-image:flex absolute -right-1.5 -top-1.5 p-0 w-5 h-5 rounded-full z-[11]'
|
||||||
onClick={() => onRemove?.(id)}
|
onClick={() => onRemove?.(id)}
|
||||||
>
|
>
|
||||||
<RiCloseLine className='w-4 h-4 text-components-button-secondary-text' />
|
<RiCloseLine className='w-4 h-4 text-components-button-secondary-text' />
|
||||||
|
@ -47,7 +47,7 @@ const FileItem = ({
|
|||||||
{
|
{
|
||||||
showDeleteAction && (
|
showDeleteAction && (
|
||||||
<Button
|
<Button
|
||||||
className='hidden group-hover/file-item:flex absolute -right-1.5 -top-1.5 p-0 w-5 h-5 rounded-full z-10'
|
className='hidden group-hover/file-item:flex absolute -right-1.5 -top-1.5 p-0 w-5 h-5 rounded-full z-[11]'
|
||||||
onClick={() => onRemove?.(id)}
|
onClick={() => onRemove?.(id)}
|
||||||
>
|
>
|
||||||
<RiCloseLine className='w-4 h-4 text-components-button-secondary-text' />
|
<RiCloseLine className='w-4 h-4 text-components-button-secondary-text' />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user