@@ -208,7 +208,9 @@ export function DeckStackCard({
208208 className = { cn (
209209 "dropdown dropdown-start absolute left-2 top-2 z-[120] transition-opacity group-focus-within:opacity-100" ,
210210 actionMenuDirection === "up" && "dropdown-top" ,
211- isInteractive ? "visible opacity-100" : "invisible opacity-0 group-hover:visible group-hover:opacity-100" ,
211+ isInteractive
212+ ? "visible opacity-100"
213+ : "invisible opacity-0 group-hover:visible group-hover:opacity-100" ,
212214 ) }
213215 onClick = { ( event ) => event . stopPropagation ( ) }
214216 onMouseDown = { ( event ) => event . stopPropagation ( ) }
@@ -459,15 +461,19 @@ function DeckCardAllocationQuickMenu({
459461 )
460462 const hasProxyAllocation = status . proxyAllocated > 0
461463 const canMarkProxy =
462- status . state !== "basic_land" && status . proxyAllocated <= 0 && status . required > status . allocated
464+ status . state !== "basic_land" &&
465+ status . proxyAllocated <= 0 &&
466+ status . required > status . allocated
463467
464468 return (
465469 < div className = "dropdown dropdown-end" onClick = { ( event ) => event . stopPropagation ( ) } >
466470 < CardTileOverlayButton
467471 className = { cn (
468472 "relative transition-opacity" ,
469473 allocationStatusButtonClass ( status . state ) ,
470- isVisible ? "visible opacity-100" : "invisible opacity-0 group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100" ,
474+ isVisible
475+ ? "visible opacity-100"
476+ : "invisible opacity-0 group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100" ,
471477 ) }
472478 tabIndex = { isVisible ? 0 : - 1 }
473479 aria-label = { `${ label } : ${ summary } ` }
@@ -553,7 +559,9 @@ function DeckCardTagQuickButton({
553559 className = { cn (
554560 "transition-opacity" ,
555561 tag ?. className ,
556- isVisible ? "visible opacity-100" : "invisible opacity-0 group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100" ,
562+ isVisible
563+ ? "visible opacity-100"
564+ : "invisible opacity-0 group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100" ,
557565 ) }
558566 disabled = { disabled }
559567 tabIndex = { isVisible ? 0 : - 1 }
0 commit comments