Tweak ToC toggle behavior

This commit is contained in:
alistair3149 2020-08-09 17:28:32 -04:00
parent ae78ddf1e0
commit ef9f23b8b1

View file

@ -143,11 +143,15 @@
}
}
<<<<<<< HEAD
&checkbox:checked ~ ul {
transform: translateX( -300px - @margin-side );
}
&checkbox:not( :checked ) ~ ul {
=======
&checkbox:not(:checked) ~ ul {
>>>>>>> Tweak ToC toggle behavior
transform: none;
}
}
@ -166,6 +170,7 @@
background: @base-100;
border-radius: 0 @border-radius-large @border-radius-large 0;
.boxshadow(3);
transform: translateX( -300px - @margin-side );
transition: @transition-transform;
}
}