From 1dd4330abda6397c9f04f52dda4a4517729a73fb Mon Sep 17 00:00:00 2001 From: Dylan Cashman Date: Tue, 6 Aug 2024 16:12:51 -0400 Subject: [PATCH] Fix menu bug for mobile --- src/styles/navigation.css | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/styles/navigation.css b/src/styles/navigation.css index 28f53dfb9..8dd483395 100644 --- a/src/styles/navigation.css +++ b/src/styles/navigation.css @@ -47,12 +47,12 @@ @apply bg-accent border-0; @apply relative; } + a.nav-text-link { + color: white; + text-decoration: inherit; + } } -a.nav-text-link { - color: white; - text-decoration: inherit; -} /* Menu */ @@ -93,23 +93,16 @@ a.nav-text-link { /* position: relative; */ } + /* Force this rule to have greater importance than the inserted bootstrap conflicts + -- Dylan */ .dropdown { left: 0; - position: absolute; + position: absolute !important; top: var(--navigation-height); width: 100%; } } -/* Force this rule to have greater importance than the inserted bootstrap conflicts - -- Dylan */ -.dropdown { - left: 0; - position: absolute !important; - top: var(--navigation-height); - width: 100%; -} - /* Menu Items */