From cdd914f083a2bd0f7492666a2388b555ccf8a0e2 Mon Sep 17 00:00:00 2001 From: Bastien Dumont <bdumont@grandlyon.com> Date: Fri, 31 May 2024 11:57:03 +0200 Subject: [PATCH] fix header height --- scss/_globals.scss | 14 -------------- scss/index.scss | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/scss/_globals.scss b/scss/_globals.scss index db5c586..457bb0a 100644 --- a/scss/_globals.scss +++ b/scss/_globals.scss @@ -14,20 +14,6 @@ html { background: $black; } -@mixin nav-height() { - height: 80px; - @media all and (max-width: $breakpoint) { - height: 75px; - } -} - -@mixin margin-nav-height() { - margin-top: 80px; - @media all and (max-width: $breakpoint) { - margin-top: 75px; - } -} - @mixin button($color, $bg-color) { cursor: pointer; display: flex; diff --git a/scss/index.scss b/scss/index.scss index bd5cd5d..842554d 100644 --- a/scss/index.scss +++ b/scss/index.scss @@ -26,8 +26,8 @@ section { } nav { - @include nav-height(); position: fixed; + height: 80px; width: 100%; z-index: 100; padding: 1rem 4rem; -- GitLab