fix(web): add spinning animation to loader icon in variable inspect trigger for better UX

This commit is contained in:
twwu 2025-08-27 13:55:43 +08:00
parent b1f348fb31
commit e1a2755e3b
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ const VariableInspectTrigger: FC = () => {
className='system-xs-medium flex h-6 cursor-pointer items-center gap-1 rounded-md border-[0.5px] border-effects-highlight bg-components-actionbar-bg px-2 text-text-accent shadow-lg backdrop-blur-sm hover:bg-components-actionbar-bg-accent'
onClick={() => setShowVariableInspectPanel(true)}
>
<RiLoader2Line className='h-4 w-4' />
<RiLoader2Line className='h-4 w-4 animate-spin' />
<span className='text-text-accent'>{t('workflow.debug.variableInspect.trigger.running')}</span>
</div>
{isPreviewRunning && (