Prevent filter summary layout shift
This commit is contained in:
parent
0b145cfc9a
commit
6af1270727
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue