Prevent filter summary layout shift

This commit is contained in:
Chocobozzz 2024-12-12 09:59:32 +01:00
parent 0b145cfc9a
commit 6af1270727
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@
<div class="d-flex flex-wrap-reverse align-items-start justify-content-between">
<div class="gap-3">
<div class="scope-info" *ngIf="totalFollowing && !hideScope">
@if (filters.scope === 'local') {
<div class="scope-info" *ngIf="!hideScope" [ngClass]="{ 'opacity-0': totalFollowing === undefined }">
@if (filters.scope === 'local' || totalFollowing === 0) {
<ng-container i18n>Videos on <strong>{{ instanceName }}</strong></ng-container>
} @else {
<ng-container i18n>Videos on <strong>{{ instanceName }}</strong> and <strong>{{ totalFollowing }}</strong> other platforms</ng-container>