toc switch visibility fix

This commit is contained in:
zzossig 2020-01-22 20:49:53 +09:00
parent 5c7be1ca7a
commit 06c5c78c51
3 changed files with 7 additions and 7 deletions

View File

@ -1,15 +1,10 @@
.switch {
position: relative;
display: inline-block;
// display: inline-block;
width: 28px;
height: 14px;
margin-top: 0.7rem;
margin-left: 1rem;
@include animation('slide-in-down-little .2s .3s 1 ease-in backwards');
@media only screen and (max-width: 1300px) {
display: none;
}
}
.switch input {

View File

@ -32,6 +32,11 @@
top: 4.2rem;
left: 1rem;
position: absolute;
@include animation('slide-in-down-little .2s .3s 1 ease-in backwards');
@media only screen and (max-width: 1300px) {
display: none;
}
}
&__title {