Fix inconsistency in image width and height attributes

Updated the width and height attributes of the avatar image in the history component to use consistent integer values (25) instead of "25px". This ensures proper rendering and prevents potential styling issues.
This commit is contained in:
Peter 2025-04-12 17:21:50 +02:00
parent 2383c291c8
commit 5e75c82994

View File

@ -21,8 +21,8 @@
<tr *ngFor="let entry of history">
<td class="historyType">{{ getType(entry) }}</td>
<td class="historyPlayer">
<img class="avatar" [ngSrc]="getAvatarUrl(entry)" width="25px"
height="25px" alt="">
<img class="avatar" [ngSrc]="getAvatarUrl(entry)" width="25"
height="25" alt="">
{{ entry.username }}
</td>
<td class="historyPlayer">{{ entry.punishedBy }}</td>