Skip to content

Commit

Permalink
[@mantine/core] TypographyStylesProvider: Fix incorrect <code /> styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Dec 10, 2022
1 parent ecb4b15 commit 3b3fd40
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -104,7 +104,7 @@ export default createStyles((theme) => {

'& code': {
lineHeight: theme.lineHeight,
padding: `1px calc(${theme.spacing.xs}px / 1)`,
padding: '1px 5px',
borderRadius: theme.radius.sm,
color: theme.colorScheme === 'dark' ? theme.colors.dark[0] : theme.black,
backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[9] : theme.colors.gray[0],
Expand All @@ -117,7 +117,7 @@ export default createStyles((theme) => {

'& ul, & ol': {
marginBottom: theme.spacing.md,
paddingLeft: `calc(${theme.spacing.lg}px * 2)`,
paddingLeft: 38,

'& li': {
marginTop: theme.spacing.xs,
Expand Down

0 comments on commit 3b3fd40

Please sign in to comment.