aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-10 09:42:50 +0200
committerChocobozzz <me@florianbigard.com>2020-08-10 09:43:44 +0200
commitae2dd04617d3983af1d42e5fddaddf9dc64eebcb (patch)
treee2f4b20986c8fe16c67fb82789784c58e3be5348 /client/src/app/shared/shared-main
parent82f443de1aba70ce75c72a4a7f669385600ab3c6 (diff)
downloadPeerTube-ae2dd04617d3983af1d42e5fddaddf9dc64eebcb.tar.gz
PeerTube-ae2dd04617d3983af1d42e5fddaddf9dc64eebcb.tar.zst
PeerTube-ae2dd04617d3983af1d42e5fddaddf9dc64eebcb.zip
Correctly fix sub menu
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r--client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html2
-rw-r--r--client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html
index 02faa9bd5..e4bc39a58 100644
--- a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html
+++ b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html
@@ -1,4 +1,4 @@
1<div class="sub-menu" [ngClass]="{ 'no-scroll': isModalOpened }"> 1<div class="sub-menu sub-menu-fixed" [ngClass]="{ 'no-scroll': isModalOpened }">
2 <ng-container *ngFor="let menuEntry of menuEntries; index as id"> 2 <ng-container *ngFor="let menuEntry of menuEntries; index as id">
3 3
4 <a *ngIf="menuEntry.routerLink && isDisplayed(menuEntry)" [routerLink]="menuEntry.routerLink" routerLinkActive="active" class="title-page title-page-settings">{{ menuEntry.label }}</a> 4 <a *ngIf="menuEntry.routerLink && isDisplayed(menuEntry)" [routerLink]="menuEntry.routerLink" routerLinkActive="active" class="title-page title-page-settings">{{ menuEntry.label }}</a>
diff --git a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts
index c3cd22307..43a9aa352 100644
--- a/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts
+++ b/client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts
@@ -1,5 +1,5 @@
1import { Subscription } from 'rxjs' 1import { Subscription } from 'rxjs'
2import { filter, take } from 'rxjs/operators' 2import { filter } from 'rxjs/operators'
3import { Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core' 3import { Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'
4import { NavigationEnd, Router } from '@angular/router' 4import { NavigationEnd, Router } from '@angular/router'
5import { MenuService, ScreenService } from '@app/core' 5import { MenuService, ScreenService } from '@app/core'