mirror of
https://github.com/dergigi/boris.git
synced 2026-01-03 23:14:36 +01:00
fix: set FAB to 50% transparent when no text selected
Change opacity from 0 to 0.5 for better visibility
This commit is contained in:
@@ -60,7 +60,7 @@ export const HighlightButton = React.forwardRef<HighlightButtonRef, HighlightBut
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
transition: 'all 0.3s ease',
|
||||
opacity: hasSelection ? 1 : 0,
|
||||
opacity: hasSelection ? 1 : 0.5,
|
||||
transform: hasSelection ? 'scale(1)' : 'scale(0.8)',
|
||||
pointerEvents: hasSelection ? 'auto' : 'none',
|
||||
userSelect: 'none'
|
||||
|
||||
Reference in New Issue
Block a user