Improve Tooltip UX by enabling delay by default (#21383)

This commit is contained in:
Kerwin Bryant 2025-07-16 11:26:54 +08:00 • committed by GitHub
commit 229b4d621e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 4 additions and 21 deletions

View file

@ -49,7 +49,6 @@ const NotFoundWarn = (props: {
</p>
</div>
}
needsDelay
>
<div>
<RiErrorWarningFill className='size-4 text-text-destructive' />

View file

@ -173,7 +173,6 @@ const Editor: FC<Props> = ({
<a className='text-text-accent' target='_blank' href='https://jinja.palletsprojects.com/en/2.10.x/'>{t('workflow.common.learnMore')}</a>
</div>
}
needsDelay
>
<div className={cn(editionType === EditionType.jinja2 && 'border-components-button-ghost-bg-hover bg-components-button-ghost-bg-hover', 'flex h-[22px] items-center space-x-0.5 rounded-[5px] border border-transparent px-1.5 hover:border-components-button-ghost-bg-hover')}>
<Jinja className='h-3 w-6 text-text-quaternary' />