feat: Add padding between mob image and name in results page

This commit is contained in:
overflowerror 2024-08-08 19:51:12 +02:00
parent 44d0722cb6
commit ce3db3b15b
2 changed files with 5 additions and 1 deletions

View file

@ -251,6 +251,10 @@ h2 {
padding-right: 15px;
}
.left {
padding-left: 10px;
}
.results-list img {
height: 100px;
object-fit: contain;

View file

@ -12,7 +12,7 @@
<td>
<img alt="<?= $mob["name"] ?>" src="/images/mobs/<?= $mob["image"] ?>" />
</td>
<td>
<td class="left">
<a target="_blank" href="https://minecraft.wiki/w/<?= str_replace(" ", "_", $mob["name"]) ?>">
<?= $mob["name"] ?>
</a>