akveo/ngx-admin

MenuComponent - Styling

Open

#1,377 创建于 2017年11月7日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)TypeScript (24,990 star) (7,916 fork)batch import
actions: replyhelp wantedquestion

描述

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.

贡献者指南