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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user