fix: Jinja switch not aligned in vertical direction (#4374)

This commit is contained in:
Joel 2024-05-14 16:29:41 +08:00 • committed by GitHub
commit 66c8070da8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -167,7 +167,7 @@ const ConfigPrompt: FC<Props> = ({
return true
})()
return (
<div key={item.id} className='relative group'>
<div key={item.id || index} className='relative group'>
{canDrag && <DragHandle className='group-hover:block hidden absolute left-[-14px] top-2 w-3.5 h-3.5 text-gray-400' />}
<ConfigPromptItem
className={cn(canDrag && 'handle')}