From aff39e9c74335df53589a710d21b99302e41f207 Mon Sep 17 00:00:00 2001 From: Mateusz Date: Fri, 9 Dec 2022 12:15:33 +0100 Subject: [PATCH] fix mobile navbar position --- src/components/navigation/NavBar/NavBarStyle.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/navigation/NavBar/NavBarStyle.js b/src/components/navigation/NavBar/NavBarStyle.js index 4659422..3b8beb6 100644 --- a/src/components/navigation/NavBar/NavBarStyle.js +++ b/src/components/navigation/NavBar/NavBarStyle.js @@ -9,13 +9,22 @@ const NavBarStyle = styled(Container)` height: 42px; background-color: ${({theme}) => theme.colors.white}; box-shadow: ${({theme}) => theme.navShadow}; - padding: 0 10px; + padding: 0; z-index: 2; .ul-desktop { display: none; } + nav { + a { + margin: 0 0 0 10px; + } + button { + margin: 0 10px 0 0; + } + } + @media (min-width: ${({theme}) => theme.overMobile}) { height: 48px; padding: 0 16px;