Skip to content

Commit

Permalink
Use normal checkbox padding
Browse files Browse the repository at this point in the history
  • Loading branch information
thomtrp committed Jun 4, 2024
1 parent 44fce75 commit 3d38537
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ const StyledContainer = styled.div`
width: 100%;
`;

const StyledCheckbox = styled(Checkbox)`
padding: ${({ theme }) => theme.spacing(0)};
`;

type ActivityTitleProps = {
activityId: string;
};
Expand Down Expand Up @@ -180,7 +176,7 @@ export const ActivityTitle = ({ activityId }: ActivityTitleProps) => {
return (
<StyledContainer>
{activity.type === 'Task' && (
<StyledCheckbox
<Checkbox
size={CheckboxSize.Large}
shape={CheckboxShape.Rounded}
checked={completed}
Expand Down

0 comments on commit 3d38537

Please sign in to comment.