Skip to content

Commit

Permalink
feat: improve checkbox list style
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeliatf committed Sep 18, 2024
1 parent 5766210 commit 9e78fd1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions components/List/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,19 @@ const StyledUl = styled('ul', {
m: '0 0 0 8px',
p: 0,
color: '$textDefault',

'&:has(li > span > input)': {
m: 0,
listStyle: 'none',
li: {
marginLeft: 0,
span: {
input: {
margin: '0 3px 0 0',
},
},
},
},
});

const StyledOl = styled('ol', {
Expand Down

0 comments on commit 9e78fd1

Please sign in to comment.