From c5d5d183476c09a8a6bb4c45f49a711636c7e53d Mon Sep 17 00:00:00 2001 From: Thomas Trompette Date: Tue, 4 Jun 2024 15:02:19 +0200 Subject: [PATCH] Remove checkbox padding (#5733) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression has been introduced by this PR https://github.com/twentyhq/twenty/pull/4883 Production Capture d’écran 2024-06-04 à 14 51 19 After fix Capture d’écran 2024-06-04 à 14 51 41 --- .../twenty-front/src/modules/ui/input/components/Checkbox.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/twenty-front/src/modules/ui/input/components/Checkbox.tsx b/packages/twenty-front/src/modules/ui/input/components/Checkbox.tsx index aa6e4d19a..bbd49cc30 100644 --- a/packages/twenty-front/src/modules/ui/input/components/Checkbox.tsx +++ b/packages/twenty-front/src/modules/ui/input/components/Checkbox.tsx @@ -53,8 +53,6 @@ const StyledInputContainer = styled.div` cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')}; display: flex; - padding: ${({ checkboxSize }) => - checkboxSize === CheckboxSize.Large ? '6px' : '5px'}; position: relative; ${({ hoverable, isChecked, theme, indeterminate, disabled }) => { if (!hoverable || disabled === true) return '';