From 0dda978668a19abeb226e52c21aeb33fd350c345 Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Wed, 3 May 2017 15:42:27 +0200 Subject: [PATCH] fix mobile navbar --- content/assets/stylesheets/includes/general.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/assets/stylesheets/includes/general.scss b/content/assets/stylesheets/includes/general.scss index 00f9cc0..44c3f25 100644 --- a/content/assets/stylesheets/includes/general.scss +++ b/content/assets/stylesheets/includes/general.scss @@ -81,7 +81,7 @@ footer.footer { // For better centering on mobile -@media screen and (max-width: 768px) { +@include mobile { #tipue_search_input { margin: 5px; } @@ -91,6 +91,10 @@ footer.footer { max-height: 0; overflow: hidden; transition: all 0.30s ease-in-out; + position: absolute; + top: 100%; + background-color: white; + width: 100%; &.is-active { max-height: 275px;