diff --git a/src/styles/typography.css b/src/styles/typography.css index 6b3f191..1d4be95 100644 --- a/src/styles/typography.css +++ b/src/styles/typography.css @@ -2,7 +2,8 @@ @layer components { .prose { - @apply text-foreground text-base leading-8 [&>section:first-child>*]:mt-0 [&>section:last-child>*]:mb-0; + @apply text-foreground text-base leading-8; + @apply [&>*]:first:mt-0 [&>*]:last:mb-0 [&>section:first-child>*]:mt-0 [&>section:last-child>*]:mb-0; p { @apply text-foreground/80 my-5 leading-7 not-first:mt-5;