From bf981d4d276299d049e9e58277c123c912994bb7 Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Sat, 11 Feb 2023 22:59:07 +0300 Subject: [PATCH] fix navbar --- src/components/Navbar/index.tsx | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index 57e1a2f..95c8ccf 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -10,6 +10,8 @@ const StyledNavbar = styled.div` padding: 16px 48px; @media only screen and (max-width: 768px) { + justify-content: center; + a:first-of-type { display: none; } @@ -35,6 +37,12 @@ const StyledNavLink = styled(Link)` font-weight: 500; color: ${({ theme }) => theme.ORANGE}; } + + @media only screen and (max-width: 568px) { + &.mobileHide { + display: none; + } + } `; export const Navbar = () => ( @@ -43,10 +51,14 @@ export const Navbar = () => ( json crack - Pro + + Pro + Editor Features - Sponsor + + Sponsor + ( > GitHub - Documentation + + Documentation + );