diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-25 16:00:34 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-25 16:00:34 +0200 |
commit | 52ebda26f6f3e312abfb16ac607c1d3310b7b667 (patch) | |
tree | 2c7f987c79e606d71262646cca4a5a8f131bc045 /client/src/app/+accounts/account-video-channels/account-video-channels.component.html | |
parent | 216fa9d5793469f2ad958363fb270990fbce3787 (diff) | |
download | PeerTube-52ebda26f6f3e312abfb16ac607c1d3310b7b667.tar.gz PeerTube-52ebda26f6f3e312abfb16ac607c1d3310b7b667.tar.zst PeerTube-52ebda26f6f3e312abfb16ac607c1d3310b7b667.zip |
Fix playlist overflow in account channels page
Diffstat (limited to 'client/src/app/+accounts/account-video-channels/account-video-channels.component.html')
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.html | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html index 200d9415f..38293b070 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html | |||
@@ -37,16 +37,18 @@ | |||
37 | 37 | ||
38 | <a i18n class="button-show-channel peertube-button-link orange-button-inverted" [routerLink]="getVideoChannelLink(videoChannel)">Show this channel</a> | 38 | <a i18n class="button-show-channel peertube-button-link orange-button-inverted" [routerLink]="getVideoChannelLink(videoChannel)">Show this channel</a> |
39 | 39 | ||
40 | <div class="videos"> | 40 | <div class="videos-overflow-workaround"> |
41 | <div class="no-results" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div> | 41 | <div class="videos"> |
42 | 42 | <div class="no-results" i18n *ngIf="getTotalVideosOf(videoChannel) === 0">This channel doesn't have any videos.</div> | |
43 | <my-video-miniature | 43 | |
44 | *ngFor="let video of getVideosOf(videoChannel)" | 44 | <my-video-miniature |
45 | [video]="video" [user]="userMiniature" [displayVideoActions]="true" [displayOptions]="miniatureDisplayOptions" | 45 | *ngFor="let video of getVideosOf(videoChannel)" |
46 | ></my-video-miniature> | 46 | [video]="video" [user]="userMiniature" [displayVideoActions]="true" [displayOptions]="miniatureDisplayOptions" |
47 | 47 | ></my-video-miniature> | |
48 | <div *ngIf="getTotalVideosOf(videoChannel)" class="miniature-show-channel"> | 48 | |
49 | <a i18n [routerLink]="getVideoChannelLink(videoChannel)">SHOW THIS CHANNEL ></a> | 49 | <div *ngIf="getTotalVideosOf(videoChannel)" class="miniature-show-channel"> |
50 | <a i18n [routerLink]="getVideoChannelLink(videoChannel)">SHOW THIS CHANNEL ></a> | ||
51 | </div> | ||
50 | </div> | 52 | </div> |
51 | </div> | 53 | </div> |
52 | </div> | 54 | </div> |