fix: revert FAB opacity to 0.4 when no text selected

This commit is contained in:
Gigi
2025-10-05 23:10:42 +01:00
parent 8bb97b3e4e
commit 77bcc481b5
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ export const HighlightButton = React.forwardRef<HighlightButtonRef, HighlightBut
alignItems: 'center',
justifyContent: 'center',
transition: 'all 0.3s ease',
opacity: hasSelection ? 1 : 0.5,
opacity: hasSelection ? 1 : 0.4,
transform: hasSelection ? 'scale(1)' : 'scale(0.8)',
pointerEvents: hasSelection ? 'auto' : 'none',
userSelect: 'none'