style: Typography margins

This commit is contained in:
Lucas Larroche 2022-12-29 17:44:09 +07:00
parent 091edf7ffd
commit 584046e234
2 changed files with 9 additions and 9 deletions

View file

@ -87,10 +87,10 @@
#{$✨}color: var(#{$}h6-color);
}
// Margin-top for headings after a typography block
:where(address, blockquote, dl, figure, form, ol, p, pre, table, ul) {
// Margin-top for headings after a block
:where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) {
~ :is(h1, h2, h3, h4, h5, h6) {
margin-top: var(#{$}typography-spacing-vertical);
margin-top: var(#{$}typography-spacing-top);
}
}