From b01a138e26ce47c96ff3a66042c248f1e1497c5f Mon Sep 17 00:00:00 2001 From: 4F24L Date: Sat, 19 Oct 2024 19:12:50 +0530 Subject: [PATCH] Nav bar fixed --- assets/css/login.css | 7 +++---- assets/css/style.css | 22 ++++++++-------------- index.html | 40 ++++++++++++++++++++-------------------- 3 files changed, 31 insertions(+), 38 deletions(-) diff --git a/assets/css/login.css b/assets/css/login.css index faa4b202f..768c517f1 100644 --- a/assets/css/login.css +++ b/assets/css/login.css @@ -1451,7 +1451,9 @@ input[type="submit"]:hover { padding-top: 5px; } .navbar-item{ - margin-right: 40px; + /* margin-right: 40px; */ + left: auto; + } .navbar-list{ position: relative; @@ -1485,7 +1487,4 @@ input[type="submit"]:hover { top: -9px; left: 50px; } -} -.navbar-item { - margin-top: 10px; /* Increase the top margin of each item */ } \ No newline at end of file diff --git a/assets/css/style.css b/assets/css/style.css index d230e515f..086a5951d 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -587,18 +587,9 @@ body { object-fit: cover; } - -.action { - - position: relative; - margin-right: 195px; - margin-top: 23px - -} - .action { position: relative; - margin-right: 195px; + /* margin-right: 195px; */ margin-top: 23px } .action .profile { @@ -663,9 +654,11 @@ body { } .action .menu.active { - top: 80px; + top: 60px; visibility: visible; opacity: 1; + right: 60px; + z-index: 1000000; } .action .menu::before { @@ -3059,16 +3052,17 @@ footer { .container, .header, .navbar { - max-width: 1330px; + max-width: 1350px; + width: 100vw; border-radius: 10px; } .navbar-list { - gap: 22px; + gap: 10px; /* Increase gap between navbar items */ justify-content: space-evenly; /* Center align navbar items */ - padding-left: 2rem; + /* padding-left: 2rem; */ } .benefits .grid-list { diff --git a/index.html b/index.html index 7a37ca43e..ab470d64a 100644 --- a/index.html +++ b/index.html @@ -2963,9 +2963,9 @@