Merge pull request #320 from picocss/ll/v2-refactor-heading

refactor: hgroup
This commit is contained in:
Lucas Larroche 2023-02-19 10:29:18 +07:00 committed by GitHub
commit 32b91e171c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,6 @@
} }
// Heading group // Heading group
@if $enable-classes == false {
hgroup { hgroup {
margin-bottom: var(#{$}typography-spacing-vertical); margin-bottom: var(#{$}typography-spacing-vertical);
@ -109,25 +108,6 @@
font-family: unset; font-family: unset;
} }
} }
}
@if $enable-classes {
hgroup,
.headings {
margin-bottom: var(#{$}typography-spacing-vertical);
> * {
margin-bottom: 0;
}
> *:last-child {
#{$✨}color: var(#{$}muted-color);
#{$✨}font-weight: unset;
font-size: 1rem;
font-family: unset;
}
}
}
// Paragraphs // Paragraphs
p { p {