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 { .subnavigation {
position: sticky;
top: 0;
z-index: 1000;
padding: 0.5rem; padding: 0.5rem;
background-color: rgba($color-black, 0.9); background-color: rgba($color-black, 0.9);
color: $color-white; color: $color-white;
text-align: center; text-align: center;
@media (min-width: 600px) {
position: sticky;
top: 0;
z-index: 1000;
}
&__link { &__link {
display: inline-block; display: inline-block;
color: rgba($color-white, 0.5); color: rgba($color-white, 0.5);