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 committed 2025-04-12 17:16:10 +02:00
1 parent 6a70428c75
commit fd1115086a
2 files changed
+4 -5

No files matched your search

+2 -3
View File
@@ -1,9 +1,8 @@
<ng-container> <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">> [overlay_gradient]="0.5">>
<div class="title" header-content> <div class="title" header-content>
<h1>Punishment History</h1> <h1>Minecraft Punishments</h1>
<h2>Minecraft</h2>
</div> </div>
</app-header> </app-header>
@@ -21,8 +21,8 @@
<tr *ngFor="let entry of history"> <tr *ngFor="let entry of history">
<td class="historyType">{{ getType(entry) }}</td> <td class="historyType">{{ getType(entry) }}</td>
<td class="historyPlayer"> <td class="historyPlayer">
<img class="avatar" ngSrc="https://cravatar.eu/avatar/cba80e47fcbc407aa5ad37a933b7fe30/25" width="25px" <img class="avatar" ngSrc="https://cravatar.eu/avatar/cba80e47fcbc407aa5ad37a933b7fe30/25" width="25"
height="25px" alt=""> height="25" alt="">
{{ entry.username }} {{ entry.username }}
</td> </td>
<td class="historyPlayer">{{ entry.punishedBy }}</td> <td class="historyPlayer">{{ entry.punishedBy }}</td>