removed white background for selected elements in the constructor

This commit is contained in:
Dmitri 2026-04-03 13:53:26 +04:00
parent ce5a472b61
commit 037d268e44

View File

@ -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',