Downgrade page_summary headings from <h2> to <h3>
When page_summaries are rendered in sections by year, the year heading is an <h2> so these need to be <h3> for correct heading hierarchy.
This commit is contained in:
parent
59ff58e159
commit
9995c8d10d
2 changed files with 5 additions and 4 deletions
|
@ -20,14 +20,15 @@
|
|||
|
||||
.page-summary__heading {
|
||||
margin-block: 0 var(--space-xs);
|
||||
font-size: var(--text-l);
|
||||
|
||||
h2 {
|
||||
h2, h3 {
|
||||
line-height: 1;
|
||||
font-size: var(--text-l);
|
||||
margin-block: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: var(--text-m);
|
||||
margin-block-start: var(--space-xs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue