Skip to content

Commit

Permalink
docs: toc padding
Browse files Browse the repository at this point in the history
  • Loading branch information
rossrobino committed Sep 8, 2024
1 parent 05ddc73 commit 901651a
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions apps/docs/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,26 @@
}

@layer utilities {
.prose blockquote {
padding-inline-start: 0;
font-style: normal;
p {
.prose {
blockquote {
padding-inline-start: 0;
font-style: normal;
p {
padding-inline-start: 0;
}
}
}
.prose section {
&:first-of-type {
margin-block-start: 0;

section {
&:first-of-type {
margin-block-start: 0;
}
}

li {
padding-block-start: theme(padding.2);
:last-of-type {
padding-block-end: theme(padding.1);
}
}
}
.prose li {
padding-block: theme(padding.1);
}
}

0 comments on commit 901651a

Please sign in to comment.