From 2bbfa82eecf4aaa9829a0fbdb0a059b6013a7300 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 5 Oct 2025 23:10:08 +0100 Subject: [PATCH] refactor: make FAB fully transparent when no text selected - Change opacity from 0.4 to 0 when no selection (fully transparent) - Remove shadow when transparent for cleaner look - Use pointerEvents: none to prevent interaction when invisible - Remove disabled attribute, handle interaction via pointer events - Button smoothly fades in/scales up when text is selected --- dist/index.html | 2 +- src/components/HighlightButton.tsx | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dist/index.html b/dist/index.html index f611a055..90f00f04 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@ Boris - Nostr Bookmarks - + diff --git a/src/components/HighlightButton.tsx b/src/components/HighlightButton.tsx index 30059a10..25368847 100644 --- a/src/components/HighlightButton.tsx +++ b/src/components/HighlightButton.tsx @@ -54,20 +54,20 @@ export const HighlightButton = React.forwardRef