diff --git a/packages/@mantine/core/src/components/TypographyStylesProvider/TypographyStylesProvider.module.css b/packages/@mantine/core/src/components/TypographyStylesProvider/TypographyStylesProvider.module.css index 5b905799b8..b0d29e4960 100644 --- a/packages/@mantine/core/src/components/TypographyStylesProvider/TypographyStylesProvider.module.css +++ b/packages/@mantine/core/src/components/TypographyStylesProvider/TypographyStylesProvider.module.css @@ -1,13 +1,9 @@ .root { - & - :where(h1, h2, h3, h4, h5, h6, img, p, ul, ol, hr, pre, table, caption, blockquote) - :first-child { + & :first-child { margin-top: 0; } - & - :where(h1, h2, h3, h4, h5, h6, img, p, ul, ol, hr, pre, table, caption, blockquote) - :last-child { + & :last-child { margin-bottom: 0; }