akveo/ngx-admin

MenuComponent - Styling

Open

#1377 opened on Nov 7, 2017

View on GitHub
 (0 comments) (1 reaction) (0 assignees)TypeScript (24,990 stars) (7,916 forks)batch import
actions: replyhelp wantedquestion

Description

Hello,

I'm trying to make customizations to the template-provided menu component but am having some issues.

  • I'm trying to adjust the amount of space between the sidebar and the header, but am unable to find the selector.

  • I'm trying to override the menu.item expanded and collapsed behavior.

    • remove the max-height and change behavior from overflow:hidden. Or, alternatively, making it so that only one root level 1 or level 2 menu item can be expanded at a given time.

    • change the border styling for child items. If presenting a menu with 3 levels of children, levels 2 and 3 are designated as "active", resulting in a border on both levels... trying to override so only the outermost level is highlighted.

I've attempted making changes to the menu.component.scss file without luck.

Thank you in advance for adding any insight / documentation on customizing your menu component.

Contributor guide