mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-24 14:45:36 +00:00
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:
@@ -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'
|
||||
)
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user