Only include an <hgroup> in the page summary if there's a description to include
Otherwise just use an <h2>. Add .page-summary__heading to both elements and update the styles.
This commit is contained in:
parent
8aaea57a2e
commit
4d9e9e1301
2 changed files with 13 additions and 8 deletions
|
@ -18,11 +18,11 @@
|
|||
margin-block-end: var(--space-xl);
|
||||
}
|
||||
|
||||
> hgroup {
|
||||
line-height: 1;
|
||||
.page-summary__heading {
|
||||
margin-block: 0 var(--space-xs);
|
||||
|
||||
h2 {
|
||||
line-height: 1;
|
||||
font-size: var(--text-l);
|
||||
margin-block: 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue