fix(css): remove margin from direct first & last children
This commit is contained in:
parent
04a06debde
commit
12bc6711b9
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
@layer components {
|
@layer components {
|
||||||
.prose {
|
.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 {
|
p {
|
||||||
@apply text-foreground/80 my-5 leading-7 not-first:mt-5;
|
@apply text-foreground/80 my-5 leading-7 not-first:mt-5;
|
||||||
|
|
Loading…
Add table
Reference in a new issue