From 21cae90d9be0ac82c8f75d697d3b24ad69e5ba43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czeka=C5=82a?= Date: Fri, 30 Jul 2021 09:58:37 +0200 Subject: [PATCH] fix: scroll menu with whole page --- public/css/styling.css | 9 +++++++-- views/includes/header.pug | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/public/css/styling.css b/public/css/styling.css index 6ad82bc53..2dbd24b2e 100755 --- a/public/css/styling.css +++ b/public/css/styling.css @@ -324,7 +324,7 @@ footer a:hover { .page-header-menu-container { display: none; - position: fixed; + position: absolute; top: 0; left: 0; right: 0; @@ -434,7 +434,7 @@ footer a:hover { } .page-header-menu-close { - position: fixed; + position: absolute; z-index: 5; right: 35px; top: 20px; @@ -476,6 +476,10 @@ footer a:hover { display: grid; } + .page-header-menu-container { + position: fixed; + } + .page-header-social-media-icons-container .page-header-social-media-icons { display: none; } @@ -512,5 +516,6 @@ footer a:hover { .page-header-menu-close { right: 25px; + position: fixed; } } diff --git a/views/includes/header.pug b/views/includes/header.pug index 79bdc438a..18313ddf3 100644 --- a/views/includes/header.pug +++ b/views/includes/header.pug @@ -1,5 +1,5 @@ header.page-header - a.page-header-logo + a(href="https://bitcoinvault.global").page-header-logo img.page-header-logo-without-text(src="/img/header/btcv-logo.svg" alt="logo") img.page-header-logo-with-text(src="/img/header/btcv-logo-with-text.svg" alt="logo")