fix: add explicit duration-150 to advanced widget opacity transition

Without an explicit duration the transition-opacity utility falls back
to Tailwind's default (no duration), so opacity changes appeared
instant. Adds duration-150 to match the smoother fade christian-byrne
suggested in PR review.
This commit is contained in:
Glary-Bot
2026-05-11 20:46:16 +00:00
parent 2d93546128
commit 47fcab102e

View File

@@ -28,7 +28,7 @@
data-testid="node-widget"
:class="
cn(
'lg-node-widget group col-span-full grid grid-cols-subgrid items-stretch transition-opacity',
'lg-node-widget group col-span-full grid grid-cols-subgrid items-stretch transition-opacity duration-150',
widget.advanced && isAdvancedHovered && 'opacity-30'
)
"