https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43576

--- Comment #14 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 206376
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206376&action=edit
Bug 43576: Sidebar: extend icon-collapse support to the Vue NavigationItem tree

NavigationItem.vue (used by ERM, ILL, Preservation, SIP2 and other
Vue-driven module sidebars via LeftMenu.vue) already rendered a
per-item icon when the route declared one, but wrapped the link text
in a bare <span> with no way for the collapse CSS to hide just the
label. Add the menu-label class to that span, opt LeftMenu.vue's
generic sidebar_menu into icon-collapse, and relax the CSS from a
direct-child to a descendant combinator to reach the <a> through
NavigationItem's extra wrapping <span>.

Also add an icon-collapse active-state highlight for Vue Router's
router-link-active class, mirroring the border/background TT menus
already get from .active, since collapsed icons would otherwise have
no way to show which page is current.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to