The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Updated Snackbar as shown in Figma Fixes #5666 (#5700)
Sagar Hedaoo52864889dad6
diff --git a/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx b/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsxindex a603be570be..5104ecdbb52 100644--- a/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx+++ b/packages/twenty-front/src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx@@ -188,6 +188,7 @@ export const SnackBar = ({{title}<StyledActions>{!!onCancel && <LightButton title="Cancel" onClick={onCancel} />}+{!!onClose && (<LightIconButton title="Close" Icon={IconX} onClick={onClose} />)}diff --git a/packages/twenty-front/src/modules/ui/input/button/components/LightButton.tsx b/packages/twenty-front/src/modules/ui/input/button/components/LightButton.tsxindex d3585825189..982c77a5d36 100644--- a/packages/twenty-front/src/modules/ui/input/button/components/LightButton.tsx+++ b/packages/twenty-front/src/modules/ui/input/button/components/LightButton.tsx@@ -95,7 +95,7 @@ export const LightButton = ({className={className}active={active}>- {!!Icon && <Icon size={theme.icon.size.sm} />}+ {!!Icon && <Icon size={theme.icon.size.md} />}{title}</StyledButton>);diff --git a/packages/twenty-front/src/modules/ui/input/button/components/LightIconButton.tsx b/packages/twenty-front/src/modules/ui/input/button/components/LightIconButton.tsxindex 97ab444e7ec..5f03c700e0c 100644--- a/packages/twenty-front/src/modules/ui/input/button/components/LightIconButton.tsx+++ b/packages/twenty-front/src/modules/ui/input/button/components/LightIconButton.tsx@@ -60,7 +60,6 @@ const StyledButton = styled.button<transition: background 0.1s ease;white-space: nowrap;-width: ${({ size }) => (size === 'small' ? '24px' : '32px')};min-width: ${({ size }) => (size === 'small' ? '24px' : '32px')};