mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 10:38:58 +08:00
fix: adjust margin in DatasetCard component for better layout (#17879)
This commit is contained in:
parent
0185f84cc8
commit
316cb00ada
@ -170,7 +170,7 @@ const DatasetCard = ({
|
|||||||
{dataset.description}
|
{dataset.description}
|
||||||
</div>
|
</div>
|
||||||
<div className={cn(
|
<div className={cn(
|
||||||
'mt-1 h-[42px] shrink-0 items-center pb-[6px] pl-[14px] pr-[6px] pt-1',
|
'mt-4 h-[42px] shrink-0 items-center pb-[6px] pl-[14px] pr-[6px] pt-1',
|
||||||
tags.length ? 'flex' : '!hidden group-hover:!flex',
|
tags.length ? 'flex' : '!hidden group-hover:!flex',
|
||||||
)}>
|
)}>
|
||||||
<div className={cn('flex w-0 grow items-center gap-1', !dataset.embedding_available && 'opacity-50 hover:opacity-100')} onClick={(e) => {
|
<div className={cn('flex w-0 grow items-center gap-1', !dataset.embedding_available && 'opacity-50 hover:opacity-100')} onClick={(e) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user