fix(sidebar): misalignment

This commit is contained in:
Jimmy Cai 2020-09-04 13:10:11 +02:00
parent be6fcfb526
commit 2d68b9e8ce
No known key found for this signature in database
GPG key ID: 3EA408E527F37B18

View file

@ -41,7 +41,7 @@
flex-shrink: 0; flex-shrink: 0;
&.sticky { &.sticky {
top: 30px; top: 0;
} }
@media (max-width: $on-desktop - 1) { @media (max-width: $on-desktop - 1) {
@ -51,6 +51,7 @@
@media (min-width: $on-tablet) { @media (min-width: $on-tablet) {
width: 25%; width: 25%;
margin-left: 1%; margin-left: 1%;
padding-top: 50px;
} }
@media (min-width: $on-desktop + 1) { @media (min-width: $on-desktop + 1) {