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.
This commit is contained in:
Peter
2025-04-12 17:16:10 +02:00
parent 6a70428c75
commit fd1115086a
2 changed files with 4 additions and 5 deletions
+2 -3
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>
@@ -21,8 +21,8 @@
<tr *ngFor="let entry of history">
<td class="historyType">{{ getType(entry) }}</td>
<td class="historyPlayer">
<img class="avatar" ngSrc="https://cravatar.eu/avatar/cba80e47fcbc407aa5ad37a933b7fe30/25" width="25px"
height="25px" alt="">
<img class="avatar" ngSrc="https://cravatar.eu/avatar/cba80e47fcbc407aa5ad37a933b7fe30/25" width="25"
height="25" alt="">
{{ entry.username }}
</td>
<td class="historyPlayer">{{ entry.punishedBy }}</td>