From fd2ffe80e1d0ad7b8a5871b8af961d73eea79cf0 Mon Sep 17 00:00:00 2001 From: Agrim Jain Date: Wed, 22 May 2024 14:43:53 +0400 Subject: [PATCH] styling fix --- src/components/Header/Header.module.scss | 2 +- src/styles/index.scss | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Header/Header.module.scss b/src/components/Header/Header.module.scss index 17e15665b..f2e1c8f13 100644 --- a/src/components/Header/Header.module.scss +++ b/src/components/Header/Header.module.scss @@ -32,6 +32,6 @@ @media (max-width: 768px) { .Navtop { - display: flex; + display: none; } } diff --git a/src/styles/index.scss b/src/styles/index.scss index a97120fcb..9fc791415 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -226,13 +226,16 @@ div[class*='sidebarViewport'] { .navbar { position: fixed; width: 100%; - margin-top: 30px; padding: 0 5vw; + top: 30px; height: var(--nav-height); line-height: rem(2); @media (max-width: 996px) { padding: 0 rem(1.5); } + @media (max-width: 768px) { + top: 0px; + } .right-navigation { display: flex; align-items: center;