1
0
Fork 0

Prevent layout shift in videos list

This commit is contained in:
Chocobozzz 2023-01-24 11:57:44 +01:00
parent 2a720a0fac
commit 389eb034ef
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<div class="feed">
<div class="feed" *ngIf="syndicationItems && syndicationItems.length !== 0">
<my-global-icon
role="button" aria-label="Open syndication dropdown" i18n-aria-label
*ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom left auto"

View File

@ -4,7 +4,7 @@
{{ title }}
</h1>
<div *ngIf="syndicationItems" [ngClass]="{ 'no-title': !displayTitle }" class="title-subscription">
<div [ngClass]="{ 'no-title': !displayTitle, invisible: !syndicationItems || syndicationItems.length === 0 }" class="title-subscription">
<ng-container i18n>Subscribe to RSS feed "{{ title }}"</ng-container>
<my-feed [syndicationItems]="syndicationItems"></my-feed>