diff --git a/CHANGELOG.md b/CHANGELOG.md index 22e79a4..5671b8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Make the copy button inactive after it is pressed until the animation is complete. - Reduce the target heading transition time. - Reduce top margin of the target heading. +- Remove bottom margin of `:last-child` and not `:last-of-type`. - Set animation/transition duration to 0s with `prefers-reduced-motion' instead of removing them altogether. - Set socials icons as CSS variables and not inline styles. - Show theme switcher if `config.extra.default_theme` is set, even if `config.extra.nav.show_theme_switcher` is not. diff --git a/sass/_typography.scss b/sass/_typography.scss index f291d02..e6a1025 100644 --- a/sass/_typography.scss +++ b/sass/_typography.scss @@ -224,7 +224,7 @@ details { line-height: 1.25; } - :last-of-type { + :last-child { margin-block-end: 0; } }