Skip to content

The open alternative to Salesforce, designed for AI.

fix #7781 made kanban board title and checkbox 24px (#7815)

NitinPSinghe50117e3b096
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 fd3327c63f2..e19d3cb7097 100644
--- a/packages/twenty-front/src/modules/ui/input/components/Checkbox.tsx
+++ b/packages/twenty-front/src/modules/ui/input/components/Checkbox.tsx
@@ -52,7 +52,10 @@ const StyledInputContainer = styled.div<InputProps>`
cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
display: flex;
- padding: ${({ theme }) => theme.spacing(1)};
+ padding: ${({ theme, checkboxSize }) =>
+ checkboxSize === CheckboxSize.Large
+ ? theme.spacing(1.5)
+ : theme.spacing(1.25)};
position: relative;
${({ hoverable, isChecked, theme, indeterminate, disabled }) => {
if (!hoverable || disabled === true) return '';
@@ -126,10 +129,9 @@ const StyledInput = styled.input<InputProps>`
}
& + label > svg {
- --padding: ${({ checkboxSize }) =>
- checkboxSize === CheckboxSize.Large ? '2px' : '1px'};
+ --padding: 0px;
--size: ${({ checkboxSize }) =>
- checkboxSize === CheckboxSize.Large ? '16px' : '12px'};
+ checkboxSize === CheckboxSize.Large ? '20px' : '14px'};
height: var(--size);
left: var(--padding);
position: absolute;
diff --git a/packages/twenty-ui/src/display/chip/components/Chip.tsx b/packages/twenty-ui/src/display/chip/components/Chip.tsx
index 48795fd4255..3bf0cd9bb90 100644
--- a/packages/twenty-ui/src/display/chip/components/Chip.tsx
+++ b/packages/twenty-ui/src/display/chip/components/Chip.tsx
@@ -66,7 +66,7 @@ const StyledContainer = withTheme(styled.div<
display: inline-flex;
justify-content: center;
gap: ${({ theme }) => theme.spacing(1)};
- height: ${({ theme }) => theme.spacing(3)};
+ height: ${({ theme }) => theme.spacing(4)};
max-width: ${({ maxWidth }) =>
maxWidth
? `calc(${maxWidth}px - 2 * var(--chip-horizontal-padding))`