diff --git a/v2_adminpanel/templates/base.html b/v2_adminpanel/templates/base.html index ddcb2ed..af1bba6 100644 --- a/v2_adminpanel/templates/base.html +++ b/v2_adminpanel/templates/base.html @@ -291,9 +291,8 @@ padding: 0; margin: 0; background-color: #f1f3f4; - max-height: 0; - overflow: hidden; - transition: max-height 0.3s ease; + max-height: none; + overflow: visible; } .sidebar-submenu .nav-link { @@ -301,26 +300,11 @@ font-size: 0.9rem; } - /* Show submenu on hover */ - .nav-item:hover .sidebar-submenu { - max-height: 300px; - } - - /* Keep submenu open when active */ - .nav-item.has-active-child .sidebar-submenu { - max-height: 300px; - } - /* Arrow indicator for items with submenus */ .nav-link.has-submenu::after { content: '▾'; float: right; opacity: 0.5; - transition: transform 0.3s; - } - - .nav-item:hover .nav-link.has-submenu::after, - .nav-item.has-active-child .nav-link.has-submenu::after { transform: rotate(180deg); }