🐛 only first of type should be styled

Only add margin/padding to the first of type for the divs listed. These classes are used heavily in the docs and we don’t want to touch anything else.
This commit is contained in:
Greg Newman
2023-10-06 18:41:13 -04:00
parent 9a0b233805
commit 65d92a0a4a
2 changed files with 7 additions and 7 deletions

View File

@@ -20,11 +20,11 @@ hr:first-of-type {
}
.section,
.spirit-nav,
.copyright-footer,
.chapter,
.refentry,
.book {
div.section:first-of-type,
div.spirit-nav:first-of-type,,
div.copyright-footer:first-of-type,,
div.chapter:first-of-type,,
div.refentry:first-of-type,,
div.book:first-of-type, {
@apply max-w-7xl px-3 md:px-6 mx-auto;
}