Fix sidebar navigation list toggle.

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

Fixes #1819
This commit is contained in:
Michael Rose 2018-09-05 15:29:45 -04:00
parent d23a569eff
commit d082dc2a39
3 changed files with 6 additions and 4 deletions

View file

@ -2,6 +2,7 @@
### Bug Fixes ### 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) * 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) ## [4.12.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.2)

View file

@ -340,7 +340,7 @@
display: none; display: none;
} }
@include breakpoint(max-width($large - 1px)) { @include breakpoint(max-width $large - 1px) {
label { label {
position: relative; position: relative;
display: inline-block; display: inline-block;
@ -446,7 +446,7 @@
font-weight: bold; font-weight: bold;
} }
@include breakpoint(max-width($large - 1px)) { @include breakpoint(max-width $large - 1px) {
position: relative; position: relative;
max-height: 0; max-height: 0;
opacity: 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 { .nav__list input:checked ~ .nav__items {
-webkit-transition: 0.5s ease-in-out; -webkit-transition: 0.5s ease-in-out;
transition: 0.5s ease-in-out; transition: 0.5s ease-in-out;

View file

@ -4,7 +4,7 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme." excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar: sidebar:
nav: docs nav: docs
last_modified_at: 2018-09-05T15:18:48-04:00 last_modified_at: 2018-09-05T15:28:14-04:00
toc: true toc: true
--- ---
@ -12,6 +12,7 @@ toc: true
### Bug Fixes ### 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) * 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) ## [4.12.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.2)