Skip to content

Commit a91ffb6

Browse files
committedSep 5, 2018
Fix sidebar navigation list toggle.
Prettier managled `@include breakpoint` media queries causing the input/checkbox toggle hack styles to go missing. Fixes mmistakes#1819
1 parent d8fbb3f commit a91ffb6

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
### Bug Fixes
44

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

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

‎_sass/minimal-mistakes/_navigation.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
display: none;
341341
}
342342

343-
@include breakpoint(max-width($large - 1px)) {
343+
@include breakpoint(max-width $large - 1px) {
344344
label {
345345
position: relative;
346346
display: inline-block;
@@ -446,7 +446,7 @@
446446
font-weight: bold;
447447
}
448448

449-
@include breakpoint(max-width($large - 1px)) {
449+
@include breakpoint(max-width $large - 1px) {
450450
position: relative;
451451
max-height: 0;
452452
opacity: 0%;
@@ -460,7 +460,7 @@
460460
}
461461
}
462462

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

‎docs/_docs/18-history.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ permalink: /docs/history/
44
excerpt: "Change log of enhancements and bug fixes made to the theme."
55
sidebar:
66
nav: docs
7-
last_modified_at: 2018-09-05T15:18:48-04:00
7+
last_modified_at: 2018-09-05T15:28:14-04:00
88
toc: true
99
---
1010

1111
## Unreleased
1212

1313
### Bug Fixes
1414

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.