Skip to content

Commit

Permalink
icon size fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NitinPSingh committed Oct 18, 2024
1 parent 303b12f commit 95f2177
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,10 @@ const StyledInput = styled.input<InputProps>`
}
& + label > svg {
--padding: 2px;
--padding: ${({ checkboxSize }) =>
checkboxSize === CheckboxSize.Large ? '2px' : '1px'};
--size: ${({ checkboxSize }) =>
checkboxSize === CheckboxSize.Large ? '16px' : '12px'};
checkboxSize === CheckboxSize.Large ? '16px' : '14px'};
height: var(--size);
left: var(--padding);
position: absolute;
Expand Down

0 comments on commit 95f2177

Please sign in to comment.