From 4058338bf75c67017fdc647722273f5c74b812ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Thu, 23 Aug 2018 08:06:09 +0200 Subject: [PATCH] disable sticky navigation for mobile --- examples/Components/Subnavigation/style.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/Components/Subnavigation/style.scss b/examples/Components/Subnavigation/style.scss index cfe0a960..32387211 100644 --- a/examples/Components/Subnavigation/style.scss +++ b/examples/Components/Subnavigation/style.scss @@ -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);