fix: menu magnifier on mobile

This commit is contained in:
Jean-Baptiste Pasquier 2021-04-06 13:27:49 +02:00
parent aa236d0604
commit 9ea268552e
1 changed files with 6 additions and 2 deletions

View File

@ -5,9 +5,13 @@ nav#main__menu {
background-image: url('../images/magnify-white.svg');
background-color: var(--color-heading);
background-repeat: no-repeat;
background-position-x: 80px;
background-position-x: right -20px;
background-position-y: 150px;
background-size: 180px;
background-size: 80%;
@media (max-width: 768px) {
background-size: 60%;
}
}
@media (max-width: 768px) {