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.tsx index a603be570..5104ecdbb 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} {!!onCancel && } + {!!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.tsx index d35858251..982c77a5d 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 && } {title} ); 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.tsx index 97ab444e7..5f03c700e 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')};