From ef8da3df43466d0e13f91a91a3bec91121a528fd Mon Sep 17 00:00:00 2001 From: Manurbhav Date: Sat, 27 Apr 2024 21:06:22 +0530 Subject: Fixed Navbar bugs --- src/components/Header.astro | 14 +--- src/components/Navbar.astro | 36 +++++---- src/components/TestNavbar.astro | 168 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 189 insertions(+), 29 deletions(-) create mode 100644 src/components/TestNavbar.astro diff --git a/src/components/Header.astro b/src/components/Header.astro index af08977..ec91fcc 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -113,20 +113,10 @@ import 'bootstrap/dist/css/bootstrap.css' @media screen and (max-width: 982px) { .head{ - margin-top: 8vh; + margin-top: 6vh; + /* margin-top: 8vh; */ } } - /* @media screen and (max-width: 580px){ - .head{ - margin-top: 7vw; - } - .nav{ - margin: 1vh; - } - } */ - - - diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 425b65c..ea76d9f 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -41,8 +41,8 @@ const routes : Routes[] = [ )) } - + + --> \ No newline at end of file -- cgit