The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: favourite button background (#2128)
Kirthi Bagrecha Jain5ce8b4c73cdb
diff --git a/front/src/modules/ui/input/button/components/IconButton.tsx b/front/src/modules/ui/input/button/components/IconButton.tsxindex bbc8c3cf188..66560d4e9dd 100644--- a/front/src/modules/ui/input/button/components/IconButton.tsx+++ b/front/src/modules/ui/input/button/components/IconButton.tsx@@ -196,14 +196,10 @@ const StyledButton = styled.button<`;case 'danger':return `- background: ${- !disabled ? theme.background.transparent.primary : 'transparent'- };+ background: 'transparent';border-color: ${variant === 'secondary'- ? !disabled- ? theme.color.red- : theme.color.red20+ ? !disabled && theme.color.red20: focus? theme.color.red: 'transparent'