Commits
Davide Negretti authored 6c6afbf148f
4 4 | <a class="navbar-brand my-2" routerLink="/home"> |
5 5 | <img src="assets/images/dspace-logo.svg" [attr.alt]="'menu.header.image.logo' | translate"/> |
6 6 | </a> |
7 7 | |
8 8 | <nav role="navigation" [attr.aria-label]="'nav.user.description' | translate" class="navbar navbar-light navbar-expand-md flex-shrink-0 px-0"> |
9 9 | <ds-themed-search-navbar></ds-themed-search-navbar> |
10 10 | <ds-themed-lang-switch></ds-themed-lang-switch> |
11 11 | <ds-context-help-toggle></ds-context-help-toggle> |
12 12 | <ds-themed-auth-nav-menu></ds-themed-auth-nav-menu> |
13 13 | <ds-impersonate-navbar></ds-impersonate-navbar> |
14 - | <div *ngIf="isXsOrSm$ | async" class="pl-2"> |
14 + | <div *ngIf="isMobile$ | async" class="pl-2"> |
15 15 | <button class="navbar-toggler px-0" type="button" (click)="toggleNavbar()" |
16 16 | aria-controls="collapsingNav" |
17 17 | aria-expanded="false" [attr.aria-label]="'nav.toggle' | translate"> |
18 18 | <span class="navbar-toggler-icon fas fa-bars fa-fw" aria-hidden="true"></span> |
19 19 | </button> |
20 20 | </div> |
21 21 | </nav> |
22 22 | </div> |
23 23 | </div> |
24 24 | </header> |