fix sum shi and fix the placeholder image so its equal widht and height

This commit is contained in:
ui0ppk 2023-02-11 19:22:02 +02:00
parent cfd5763bcf
commit d66837cfc2
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -69,9 +69,9 @@ $getitstarted->header();
<h3 class="card-header text-start"> <?php echo htmlspecialchars($item["name"]); ?> <?php if($item['limited'] == 1) { echo '
<span class="float-end badge bg-success">Limited</span>'; }; ?> </h3>
<div class="card-body mx-md-auto mx-xl-0">
<img class="img-thumbnail h-100" src="
<img class="img-thumbnail" src="
<?php if (!empty($item["thumbnail"])) {echo htmlspecialchars($item["thumbnail"]);} else {echo "assets/placeholder.png";} ?>">
<div class="float-lg-end p-4 mt-md-2 mt-lg-0 border rounded-2">
<div class="float-lg-end p-4 mt-md-2 ms-md-0 ms-lg-4 mt-lg-0 border rounded-2">
<a href="user?id=<?php echo $item['creator']; ?>" class="text-decoration-none">
<img class="float-start border border-1 rounded-1 p-2 me-2" width=64 height=64 alt="<?php echo htmlspecialchars($item["name"]); ?>" src="<?php if (!empty($itemUser->getAvatar())) {echo htmlspecialchars($itemUser->getAvatar()); } ?>">
<p class="text-white"> <?php echo $itemUser->getUsername(); ?> </p>