Skip to content

Commit

Permalink
Use sandwich menu even at slightly larger screen sizes (#2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Aug 30, 2024
1 parent 67d1b81 commit c5e8548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/components/Navigation/Navigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const loginUrl = await getAuthUrl(Astro.url.toString());
---

<div class='flex justify-end relative'>
<div class='subtitle hidden sm:flex sm:z-6 gap-4'>
<div class='subtitle hidden md:flex md:z-6 gap-4'>
{
navigationItems
.top(selectedOrganism?.key, isLoggedIn, loginUrl)
Expand All @@ -28,7 +28,7 @@ const loginUrl = await getAuthUrl(Astro.url.toString());
</div>

<div
class='sm:hidden z-0'
class='md:hidden z-0'
style={{
position: 'absolute',
right: '1.5rem',
Expand Down

0 comments on commit c5e8548

Please sign in to comment.