From 291f30fdb4a21eeb5ba1f29caafcfbf058b970d6 Mon Sep 17 00:00:00 2001 From: oof2win2 Date: Mon, 11 Oct 2021 09:10:14 +0200 Subject: [PATCH] Fix sticky navbar on mobile devices (#422) * :bug: Fix sticky navbar on mobile devices * :wrench: Change from accelerometer to user-agent * :bug: Fix window not available, use sceeen height * :wrench: Move to CSS, hide sticky navbar on mobile Co-authored-by: Xetera --- src/components/HeaderBarebone/styles.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/HeaderBarebone/styles.tsx b/src/components/HeaderBarebone/styles.tsx index 4d889db..4b3da2c 100644 --- a/src/components/HeaderBarebone/styles.tsx +++ b/src/components/HeaderBarebone/styles.tsx @@ -68,13 +68,6 @@ export const HeaderWrapperSticky = styled.div` width: 100% !important; padding-right: 0 !important; } - - @media screen and (max-width: 767px) { - display: flex; - align-items: flex-end; - height: auto; - min-height: ${height}px; - } ` export const Background = styled.div`