diff --git a/src/app/components/items/photo.component.ts b/src/app/components/items/photo.component.ts index 39e0186..c82224f 100644 --- a/src/app/components/items/photo.component.ts +++ b/src/app/components/items/photo.component.ts @@ -50,7 +50,7 @@ import {RouterLink} from "@angular/router"; - +
diff --git a/src/app/components/ui/photos/level-avatar.component.ts b/src/app/components/ui/photos/level-avatar.component.ts index b0fa3d1..cc0961f 100644 --- a/src/app/components/ui/photos/level-avatar.component.ts +++ b/src/app/components/ui/photos/level-avatar.component.ts @@ -11,7 +11,7 @@ import {Level} from "../../../api/types/levels/level"; template: ` @if (this.level) { + (error)="err($event.target)" style="min-width: {{size}}px;" loading="lazy"> } ` }) diff --git a/src/app/components/ui/photos/user-avatar.component.ts b/src/app/components/ui/photos/user-avatar.component.ts index 6c99886..bcbb16c 100644 --- a/src/app/components/ui/photos/user-avatar.component.ts +++ b/src/app/components/ui/photos/user-avatar.component.ts @@ -13,7 +13,7 @@ import { NgClass, NgOptimizedImage, NgStyle } from "@angular/common"; template: ` @if (this.user) { + (error)="err($event.target)" [ngStyle]="{'min-height': size + 'px', 'min-width': size + 'px'}" loading="lazy"> } ` })