mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-28 03:00:29 -04:00
fix(kb-ui): fixed tags hover effect (#942)
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user