From 74bc82e5a34b072ed533102895617533b9df3734 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 3 Mar 2022 01:51:30 +0000 Subject: [PATCH] Made admin header on desktop sticky --- src/stylesheets/components/_admin.scss | 1 + src/stylesheets/components/_adminHeader.scss | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/stylesheets/components/_admin.scss b/src/stylesheets/components/_admin.scss index 750e86d..b92e878 100644 --- a/src/stylesheets/components/_admin.scss +++ b/src/stylesheets/components/_admin.scss @@ -11,6 +11,7 @@ @include respond-to('large') { margin-left: 20vw; + margin-top: 80px; } } diff --git a/src/stylesheets/components/_adminHeader.scss b/src/stylesheets/components/_adminHeader.scss index 3f4b4f3..23085f1 100644 --- a/src/stylesheets/components/_adminHeader.scss +++ b/src/stylesheets/components/_adminHeader.scss @@ -18,4 +18,10 @@ display: none; } } + + @include respond-to('large') { + position: fixed; + top: 0; + width: 100%; + } }