Skip to content

Commit

Permalink
Force prose first/last children mt-0/mb-0
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed Sep 13, 2022
1 parent 0411155 commit ecd234f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev/public/build/assets/site.19818d18.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dev/public/build/assets/site.99cef19f.css

This file was deleted.

2 changes: 1 addition & 1 deletion dev/public/build/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"isEntry": true
},
"resources/css/site.css": {
"file": "assets/site.99cef19f.css",
"file": "assets/site.19818d18.css",
"src": "resources/css/site.css",
"isEntry": true
}
Expand Down
9 changes: 9 additions & 0 deletions dev/tailwind.config.typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ module.exports = {
marginTop: '0em !important',
marginBottom: '0em !important',
},
'.prose :where(.prose > div > :first-child):not(:where([class~="not-prose"] *))': {
marginTop: '0 !important',
},
'.prose :where(.prose > div > :last-child):not(:where([class~="not-prose"] *))': {
marginBottom: '0 !important',
},
'.not-prose': {
margin: '2rem 0 !important',
}
}
}
}),
Expand Down

0 comments on commit ecd234f

Please sign in to comment.