Update .headings SCSS code and docs

This commit is contained in:
Lucas Larroche 2021-12-31 11:42:44 +07:00
parent 56c310fe99
commit 568f3c646d
15 changed files with 33 additions and 50 deletions

View file

@ -181,22 +181,25 @@ ul {
}
// Heading group
hgroup {
margin-bottom: var(--typography-spacing-vertical);
@if $enable-classes == false {
hgroup {
margin-bottom: var(--typography-spacing-vertical);
> * {
margin-bottom: 0;
}
> * {
margin-bottom: 0;
}
> *:last-child {
--color: var(--muted-color);
--font-weight: unset;
font-size: 1rem;
font-family: unset;
> *:last-child {
--color: var(--muted-color);
--font-weight: unset;
font-size: 1rem;
font-family: unset;
}
}
}
@if $enable-classes {
hgroup,
.headings {
margin-bottom: var(--typography-spacing-vertical);