Skip to content

Commit

Permalink
fix: navmenu pointer events
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasha committed Apr 12, 2024
1 parent 24e7d98 commit 13bd05f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/components/organisms/navmenu/navmenu.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@
& ~ * .nav_menu_list {
opacity: 1;
height: 100%;
pointer-events: all;
}
& ~ .nav_menu_list {
pointer-events: all;
& > .category {
opacity: 1;
}
Expand All @@ -140,6 +142,7 @@

& ~ * .nav_menu_list {
height: 0px;
pointer-events: none;
& > .category {
@for $i from 1 through 15 {
&:nth-child(#{$i}) {
Expand Down Expand Up @@ -237,6 +240,7 @@
list-style: none;
transition: all 0.3s ease-out;
max-height: 100vh;
pointer-events: none;
& :first-child{
margin-top: var(--space-sm);
}
Expand Down

0 comments on commit 13bd05f

Please sign in to comment.