fix: add remark-sectionize in articles

This commit is contained in:
enscribe 2025-03-22 02:18:42 -07:00
parent af62bcb39f
commit 04a06debde
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
7 changed files with 77 additions and 9 deletions

View file

@ -2,7 +2,7 @@
@layer components {
.prose {
@apply text-foreground text-base leading-8 [&>*]:first:mt-0 [&>*]:last:mb-0;
@apply text-foreground text-base leading-8 [&>section:first-child>*]:mt-0 [&>section:last-child>*]:mb-0;
p {
@apply text-foreground/80 my-5 leading-7 not-first:mt-5;