diff --git a/src/layout/Navbar/NavHost.svelte b/src/layout/Navbar/NavHost.svelte index ba294a3..af585ef 100644 --- a/src/layout/Navbar/NavHost.svelte +++ b/src/layout/Navbar/NavHost.svelte @@ -40,70 +40,52 @@ @@ -186,12 +168,6 @@ width: 100%; } - .nav-wrapper { - display: flex; - width: 100%; - justify-content: space-between; - } - #main-navigation, #secondary-navigation { align-items: center; @@ -227,22 +203,19 @@ z-index: 88; } - .desktop { + .nav-wrapper { + display: flex; width: 100%; justify-content: space-between; - align-items: center; - display: flex; + } + + @media (min-width: 768px) { + .nav-wrapper { + align-items: center; + } } @media (max-width: 768px) { - .desktop { - display: none; - } - - nav { - justify-content: normal; - } - .nav-wrapper { flex-direction: column; gap: 0.5rem; @@ -259,6 +232,14 @@ z-index: 100; } + .desktop-only { + display: none !important; + } + + nav { + justify-content: normal; + } + .nav-buttons { flex-direction: column; gap: 0.5rem; @@ -271,12 +252,13 @@ } } - /* Hamburger mmm yum */ @media screen and (min-width: 768px) { - .mobile { + .mobile-only { display: none !important; } } + + /* Hamburger mmm yum */ .menu-btn { user-select: none; position: relative;