mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
[CL-173] hide nav-group active styles when expanded (#7695)
* hide nav-group active styles when open * update org-switcher to show child nav-item active styles
This commit is contained in:
@@ -27,6 +27,11 @@ export class NavGroupComponent extends NavBaseComponent implements AfterContentI
|
||||
})
|
||||
nestedItems!: QueryList<NavItemComponent>;
|
||||
|
||||
/** The parent nav item should not show active styles when open. */
|
||||
protected get parentHideActiveStyles(): boolean {
|
||||
return this.hideActiveStyles || this.open;
|
||||
}
|
||||
|
||||
/**
|
||||
* UID for `[attr.aria-controls]`
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user