Compare commits

...

3 Commits

Author SHA1 Message Date
Peter 5e75c82994 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.
2025-04-12 17:21:50 +02:00
Peter 2383c291c8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	frontend/src/app/bans/history/history.component.html
2025-04-12 17:21:10 +02:00
Peter fd1115086a Update header styling and improve avatar image attributes
Adjusted the header height and title text for clarity and consistency in the bans page. Also streamlined avatar image attributes by removing unnecessary units for better HTML standards compliance.
2025-04-12 17:16:10 +02:00
2 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,8 @@
<ng-container>
<app-header [current_page]="'bans'" height="250px" background_image="/public/img/backgrounds/staff.png"
<app-header [current_page]="'bans'" height="200px" background_image="/public/img/backgrounds/staff.png"
[overlay_gradient]="0.5">>
<div class="title" header-content>
<h1>Punishment History</h1>
<h2>Minecraft</h2>
<h1>Minecraft Punishments</h1>
</div>
</app-header>

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>