Skip to content

Commit

Permalink
[@mantine/core] List: Fix incorrect list items styles (#2624)
Browse files Browse the repository at this point in the history
* [@mantine/core] Fix indentation on List (listStylePosition: 'inside')

* [@mantine/core] List - fix nested items

* [@mantine/core] List - Fix withIcon variant
  • Loading branch information
7iomka committed Oct 4, 2022
1 parent 2f28569 commit a9d3740
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mantine-core/src/List/ListItem/ListItem.styles.ts
Expand Up @@ -28,6 +28,7 @@ export default createStyles((theme, { spacing, center }: ListItemStyles, getRef)
[`& .${getRef('itemWrapper')}`]: {
display: 'inline-flex',
alignItems: center ? 'center' : 'flex-start',
flexDirection: 'row',
},
},

Expand Down

0 comments on commit a9d3740

Please sign in to comment.