removed white background for selected elements in the constructor
This commit is contained in:
parent
ce5a472b61
commit
037d268e44
@ -76,9 +76,9 @@ export function useElementWrapperStyle({
|
||||
'rounded text-xs font-semibold',
|
||||
// Text alignment: center for navigation buttons, left for others
|
||||
isNavigationElement ? 'text-center' : 'text-left',
|
||||
// Background/border - selected state overrides transparent
|
||||
// Background/border - selected state uses outline only (no background)
|
||||
isSelected
|
||||
? 'border shadow border-blue-500 bg-blue-50'
|
||||
? 'outline outline-2 outline-blue-500 outline-offset-2'
|
||||
: hasTransparentBackground
|
||||
? 'bg-transparent'
|
||||
: 'border shadow border-blue-200 bg-white/95',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user