diff options
author | Chocobozzz <me@florianbigard.com> | 2023-01-24 11:57:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-01-24 11:57:44 +0100 |
commit | 389eb034efc099ea1cbfe5d00912bb6fe8a2d78f (patch) | |
tree | ef10d452d8b8cd071b66c160398d894a4850aad1 /client/src/app/shared/shared-video-miniature | |
parent | 2a720a0fac7236bb19c15e60e4841a1a45f5ecc8 (diff) | |
download | PeerTube-389eb034efc099ea1cbfe5d00912bb6fe8a2d78f.tar.gz PeerTube-389eb034efc099ea1cbfe5d00912bb6fe8a2d78f.tar.zst PeerTube-389eb034efc099ea1cbfe5d00912bb6fe8a2d78f.zip |
Prevent layout shift in videos list
Diffstat (limited to 'client/src/app/shared/shared-video-miniature')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/videos-list.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-video-miniature/videos-list.component.html b/client/src/app/shared/shared-video-miniature/videos-list.component.html index c220f61f1..8c8bf80d9 100644 --- a/client/src/app/shared/shared-video-miniature/videos-list.component.html +++ b/client/src/app/shared/shared-video-miniature/videos-list.component.html | |||
@@ -4,7 +4,7 @@ | |||
4 | {{ title }} | 4 | {{ title }} |
5 | </h1> | 5 | </h1> |
6 | 6 | ||
7 | <div *ngIf="syndicationItems" [ngClass]="{ 'no-title': !displayTitle }" class="title-subscription"> | 7 | <div [ngClass]="{ 'no-title': !displayTitle, invisible: !syndicationItems || syndicationItems.length === 0 }" class="title-subscription"> |
8 | <ng-container i18n>Subscribe to RSS feed "{{ title }}"</ng-container> | 8 | <ng-container i18n>Subscribe to RSS feed "{{ title }}"</ng-container> |
9 | 9 | ||
10 | <my-feed [syndicationItems]="syndicationItems"></my-feed> | 10 | <my-feed [syndicationItems]="syndicationItems"></my-feed> |