Skip to content

Commit

Permalink
ensure position of submenus is relative to parent list item. closes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwweb committed May 21, 2024
1 parent 797df37 commit e367c77
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clicky-menus.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
visibility: hidden; /*[1]*/
}

/* Contain position of submenu to parent list item. This is probably the 80% of the 80/20 use case */
.clicky-menu > li {
position: relative;
}

/**
* No JS fallback
*
Expand Down

0 comments on commit e367c77

Please sign in to comment.