fix(kb-ui): fixed tags hover effect (#942)

This commit is contained in:
Waleed Latif
2025-08-12 08:49:19 -07:00
committed by GitHub
parent e1d5e38528
commit 1c3e923f1b

View File

@@ -471,7 +471,7 @@ export function KnowledgeTags({ knowledgeBaseId, documentId }: KnowledgeTagsProp
return (
<div key={index} className='mb-1'>
<div
className={`cursor-pointer rounded-[10px] border bg-card transition-colors hover:bg-muted ${editingTagIndex === index ? 'space-y-2 p-2' : 'p-2'}`}
className={`cursor-pointer rounded-[10px] border bg-card transition-colors ${editingTagIndex === index ? 'space-y-2 p-2' : 'p-2'}`}
onClick={() => userPermissions.canEdit && toggleTagEditor(index)}
>
{/* Always show the tag display */}