disable sticky navigation for mobile

This commit is contained in:
Philipp Kühn
2018-08-23 08:06:09 +02:00
parent daa2776ced
commit 4058338bf7

View File

@@ -2,14 +2,17 @@
.subnavigation {
position: sticky;
top: 0;
z-index: 1000;
padding: 0.5rem;
background-color: rgba($color-black, 0.9);
color: $color-white;
text-align: center;
@media (min-width: 600px) {
position: sticky;
top: 0;
z-index: 1000;
}
&__link {
display: inline-block;
color: rgba($color-white, 0.5);