From 5ec8d49f5e6cf64ad236d8451babdafd4af3852d Mon Sep 17 00:00:00 2001 From: Pedro Carreno <34664891+Pkcarreno@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:48:53 -0400 Subject: [PATCH] fix: action button styles --- src/features/editor/components/header/action-buttons.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/features/editor/components/header/action-buttons.tsx b/src/features/editor/components/header/action-buttons.tsx index 8980078..d24a82b 100644 --- a/src/features/editor/components/header/action-buttons.tsx +++ b/src/features/editor/components/header/action-buttons.tsx @@ -49,7 +49,10 @@ export const AnimatedActionButton: React.FC = ({ if (state === 'overflow') return 'bg-destructive text-destructive-foreground shadow-sm hover:!bg-destructive/90'; - return 'bg-primary text-primary-foreground shadow hover:!bg-primary/90'; + if (state === 'idle') + return 'bg-primary text-primary-foreground shadow hover:!bg-primary/90'; + + return ''; }, [state]); return (