~xdavidwu/xdavidwu.link

2969225ab371088c68682c44a2ded3d35e3c0d96 — Michael Rose 6 years ago 7cf46f3
Fix sidebar navigation list toggle.

Prettier managled `@include breakpoint` media queries causing the input/checkbox toggle hack styles to go missing.

Fixes #1819
2 files changed, 4 insertions(+), 3 deletions(-)

M CHANGELOG.md
M _sass/minimal-mistakes/_navigation.scss
M CHANGELOG.md => CHANGELOG.md +1 -0
@@ 2,6 2,7 @@

### Bug Fixes

* Fix sidebar navigation list toggle. [#1819](https://github.com/mmistakes/minimal-mistakes/issues/1819)
* Fix hover animation for links with `:visited` state. [#1820](https://github.com/mmistakes/minimal-mistakes/issues/1820)

## [4.12.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.2)

M _sass/minimal-mistakes/_navigation.scss => _sass/minimal-mistakes/_navigation.scss +3 -3
@@ 340,7 340,7 @@
    display: none;
  }

  @include breakpoint(max-width($large - 1px)) {
  @include breakpoint(max-width $large - 1px) {
    label {
      position: relative;
      display: inline-block;


@@ 446,7 446,7 @@
    font-weight: bold;
  }

  @include breakpoint(max-width($large - 1px)) {
  @include breakpoint(max-width $large - 1px) {
    position: relative;
    max-height: 0;
    opacity: 0%;


@@ 460,7 460,7 @@
  }
}

@include breakpoint(max-width($large - 1px)) {
@include breakpoint(max-width $large - 1px) {
  .nav__list input:checked ~ .nav__items {
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;