Skip to content

Commit

Permalink
fix: action button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Pkcarreno committed Jan 8, 2025
1 parent d946457 commit 5ec8d49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/features/editor/components/header/action-buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ export const AnimatedActionButton: React.FC<AnimatedActionButtonProps> = ({
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 (
Expand Down

0 comments on commit 5ec8d49

Please sign in to comment.