1. David Jean Louis
  2. django-admin-tools
  3. Issues
Issue #100 invalid

menuitem inside menuitem

Anonymous created an issue

when you create menu item inside menuitem it instantly unfolds children when hovering, it causes overlaying the contents in the thirds if contains more than one item as third in the line.

This simple solution does then trick keeping only displayed only up to next item descending.

diff --git a/admin_tools/media/admin_tools/css/menu.css b/admin_tools/media/admin_tools/css/ index 5fc615d..5393bd2 100644 --- a/admin_tools/media/admin_tools/css/menu.css +++ b/admin_tools/media/admin_tools/css/menu.css @@ -131,10 +131,10 @@ display: none; }

-#header ul#navigation-menu li:hover > ul, -#header ul#navigation-menu li.over > ul, -#header ul#navigation-menu li ul li:hover > ul, -#header ul#navigation-menu li ul li.over > ul { +#header ul#navigation-menu li:hover ul, +#header ul#navigation-menu li.over ul, +#header ul#navigation-menu li ul li:hover ul, +#header ul#navigation-menu li ul li.over ul { display: block; }

Comments (1)

  1. Log in to comment