Remove bottom margin of :last-child and not :last-of-type

This commit is contained in:
daudix
2024-09-06 04:09:24 +03:00
parent 8ab17bcd90
commit 5e26b91955
2 changed files with 2 additions and 1 deletions

View File

@ -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. - Make the copy button inactive after it is pressed until the animation is complete.
- Reduce the target heading transition time. - Reduce the target heading transition time.
- Reduce top margin of the target heading. - 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 animation/transition duration to 0s with `prefers-reduced-motion' instead of removing them altogether.
- Set socials icons as CSS variables and not inline styles. - 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. - Show theme switcher if `config.extra.default_theme` is set, even if `config.extra.nav.show_theme_switcher` is not.

View File

@ -224,7 +224,7 @@ details {
line-height: 1.25; line-height: 1.25;
} }
:last-of-type { :last-child {
margin-block-end: 0; margin-block-end: 0;
} }
} }