Merge pull request #50 from twentyhq/fix-checkbox

feature: adjust checkbox size
This commit is contained in:
Charles Bochet
2023-04-19 18:01:40 +02:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@ -10,15 +10,15 @@ const StyledContainer = styled.span`
input[type='checkbox'] {
accent-color: ${(props) => props.theme.blue};
margin: 8px;
height: 16px;
width: 16px;
height: 14px;
width: 14px;
}
input[type='checkbox']::before {
content: '';
border: 1px solid black;
width: 14px;
height: 14px;
width: 12px;
height: 12px;
border-radius: 2px;
display: block;
}

View File

@ -11,6 +11,7 @@ type OwnProps = {
const TD = styled.td`
position: relative;
box-sizing: border-box;
height: 32px;
::before {
content: '';