Skip to content

Commit

Permalink
Merge pull request #47 from yohuck/submenu-fix
Browse files Browse the repository at this point in the history
Fixes submenu z-index on desktop
  • Loading branch information
markteekman authored Nov 6, 2022
2 parents da9cb00 + ff1c78c commit 17876c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "accessible-astro-starter",
"description": "An Accessible Starter Theme for Astro including several accessiblity features and tools to help you build faster.",
"version": "1.6.0",
"version": "1.6.1",
"author": "Mark Teekman",
"homepage": "https://accessible-astro.dev",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion src/components/Navigation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,16 @@ import { DarkMode } from 'accessible-astro-components'
&.is-desktop {
.desktop-menu {
visibility: visible;
z-index: 0;
position: static;
}

.mobile-menu {
display: none;
}

.darkmode-toggle {
margin-top: -6px;
}
}

&.is-mobile {
Expand Down

0 comments on commit 17876c5

Please sign in to comment.