fix: adjust margin in DatasetCard component for better layout (#17879)

This commit is contained in:
GuanMu 2025-04-11 16:44:00 +08:00 committed by GitHub
parent 0185f84cc8
commit 316cb00ada
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,7 +170,7 @@ const DatasetCard = ({
{dataset.description}
</div>
<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',
)}>
<div className={cn('flex w-0 grow items-center gap-1', !dataset.embedding_available && 'opacity-50 hover:opacity-100')} onClick={(e) => {