Skip to content

Commit

Permalink
fix(frontend): adjust heading spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Apr 1, 2024
1 parent 9560521 commit 60524c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/frontend/styles/scopes/flow.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,19 @@

& h2:not([class]) {
font: var(--font-heading);
margin-block-start: calc(var(--flow-space) * 2);
}

& h3:not([class]) {
color: var(--color-primary-variant);
font: var(--font-subhead);
margin-block-start: calc(var(--flow-space) * 2);
}

& h4:not([class]) {
font: var(--font-label);
margin-block-start: calc(var(--flow-space) * 1.5);
}

& *:has(+ h2, + h3, + h4):not([class]) {
margin-block-start: calc(var(--flow-space) * 2);
}

& :is(h2, h3, h4):not([class]) + *:not([class]) {
Expand Down

0 comments on commit 60524c4

Please sign in to comment.