diff options
Diffstat (limited to 'client/src/app/menu')
-rw-r--r-- | client/src/app/menu/menu.component.html | 4 | ||||
-rw-r--r-- | client/src/app/menu/menu.component.scss | 21 |
2 files changed, 8 insertions, 17 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index c1e5f79a6..c5d08ab75 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html | |||
@@ -88,7 +88,7 @@ | |||
88 | </a> | 88 | </a> |
89 | 89 | ||
90 | <a class="menu-link" routerLink="/my-library" routerLinkActive="active" #libraryLink (click)="onActiveLinkScrollToAnchor(libraryLink)"> | 90 | <a class="menu-link" routerLink="/my-library" routerLinkActive="active" #libraryLink (click)="onActiveLinkScrollToAnchor(libraryLink)"> |
91 | <my-global-icon iconName="channel" aria-hidden="true"></my-global-icon> | 91 | <my-global-icon class="channel-icon" iconName="channel" aria-hidden="true"></my-global-icon> |
92 | <ng-container i18n>My library</ng-container> | 92 | <ng-container i18n>My library</ng-container> |
93 | </a> | 93 | </a> |
94 | 94 | ||
@@ -111,7 +111,7 @@ | |||
111 | <div i18n class="block-title">{{ menuSection.title }}</div> | 111 | <div i18n class="block-title">{{ menuSection.title }}</div> |
112 | 112 | ||
113 | <a class="menu-link" *ngFor="let link of menuSection.links" [routerLink]="link.path" routerLinkActive="active"> | 113 | <a class="menu-link" *ngFor="let link of menuSection.links" [routerLink]="link.path" routerLinkActive="active"> |
114 | <my-global-icon *ngIf="link.icon" [iconName]="link.icon" aria-hidden="true"></my-global-icon> | 114 | <my-global-icon *ngIf="link.icon" [iconName]="link.icon" [ngClass]="link.iconClass" aria-hidden="true"></my-global-icon> |
115 | <ng-container>{{ link.shortLabel }}</ng-container> | 115 | <ng-container>{{ link.shortLabel }}</ng-container> |
116 | </a> | 116 | </a> |
117 | </div> | 117 | </div> |
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index a824c69fe..6cfe26431 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -391,26 +391,17 @@ my-actor-avatar { | |||
391 | } | 391 | } |
392 | 392 | ||
393 | my-global-icon { | 393 | my-global-icon { |
394 | &[iconName=playlists] { | 394 | position: relative; |
395 | top: -1px; | ||
396 | |||
397 | .playlist-icon { | ||
395 | @include margin-right(16px); | 398 | @include margin-right(16px); |
396 | 399 | ||
397 | height: 24px; | 400 | height: 24px; |
398 | width: 24px; | 401 | width: 24px; |
399 | } | 402 | } |
400 | 403 | ||
401 | &[iconName=videos] { | 404 | &.channel-icon { |
402 | position: relative; | 405 | top: -2px; |
403 | right: -1px; | ||
404 | } | ||
405 | |||
406 | &[iconName=channel] { | ||
407 | margin-top: -2px; | ||
408 | } | ||
409 | |||
410 | &[iconName='sign-out'] { | ||
411 | position: relative; | ||
412 | right: -2px; | ||
413 | height: 20px; | ||
414 | width: 20px; | ||
415 | } | 406 | } |
416 | } | 407 | } |