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
parent 0dee41c074
commit 229b4d621e
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' />