fix mobile manu

This commit is contained in:
Philipp Kühn
2021-02-03 23:46:32 +01:00
parent 0759f6f8ab
commit 8c3085e0b3

View File

@@ -1,5 +1,4 @@
$navHeight: 4.5rem; $navHeight: 4.5rem;
$mobileBreakPoint: 600px;
$menuBreakPoint: 800px; $menuBreakPoint: 800px;
.app { .app {
@@ -173,9 +172,9 @@ $menuBreakPoint: 800px;
} }
&__link-group { &__link-group {
margin-bottom: 1rem; margin-bottom: 1.5rem;
@media (min-width: $mobileBreakPoint) { @media (min-width: $menuBreakPoint) {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
} }
@@ -311,7 +310,7 @@ $menuBreakPoint: 800px;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
overscroll-behavior: contain; overscroll-behavior: contain;
@media (min-width: $mobileBreakPoint) { @media (min-width: $menuBreakPoint) {
padding: 2rem 0; padding: 2rem 0;
} }
} }