aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts/accounts.component.html
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-02-05 20:54:37 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-02-13 10:25:22 +0100
commit24e7916c6897bbb38e057cdf1a102286006be964 (patch)
tree7621dd83d532ba04b725f4feeb902ccbdb6669ff /client/src/app/+accounts/accounts.component.html
parenteb7c7a517902eae425b05d1ca9cb7f99f76ee71f (diff)
downloadPeerTube-24e7916c6897bbb38e057cdf1a102286006be964.tar.gz
PeerTube-24e7916c6897bbb38e057cdf1a102286006be964.tar.zst
PeerTube-24e7916c6897bbb38e057cdf1a102286006be964.zip
Add ListOverflow component to prevent sub-menu overflow
Diffstat (limited to 'client/src/app/+accounts/accounts.component.html')
-rw-r--r--client/src/app/+accounts/accounts.component.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html
index 915bee0a2..b982fba9a 100644
--- a/client/src/app/+accounts/accounts.component.html
+++ b/client/src/app/+accounts/accounts.component.html
@@ -38,12 +38,12 @@
38 </div> 38 </div>
39 </div> 39 </div>
40 40
41 <div class="links"> 41 <div class="links w-100">
42 <a i18n routerLink="video-channels" routerLinkActive="active" class="title-page">Video channels</a> 42 <ng-template #linkTemplate let-item="item">
43 <a [routerLink]="item.routerLink" routerLinkActive="active" class="title-page">{{ item.label }}</a>
44 </ng-template>
43 45
44 <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a> 46 <list-overflow [items]="links" [itemTemplate]="linkTemplate"></list-overflow>
45
46 <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
47 </div> 47 </div>
48 </div> 48 </div>
49 49