Skip to content

Commit

Permalink
Player
Browse files Browse the repository at this point in the history
Removed old background style from previos version on game images. Fixed alt on game images.
  • Loading branch information
Ragowit committed Jan 12, 2024
1 parent fcbf73f commit 588a0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wwwroot/player.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
<tr<?= $trClass; ?>>
<td scope="row">
<div class="hstack gap-3">
<img src="/img/title/<?= ($playerGame["icon_url"] == ".png") ? ((str_contains($playerGame["platform"], "PS5")) ? "../missing-ps5-game-and-trophy.png" : "../missing-ps4-game.png") : $playerGame["icon_url"]; ?>" alt="" style="background: linear-gradient(to bottom,#145EBB 0,#142788 100%);" width="100" />
<img src="/img/title/<?= ($playerGame["icon_url"] == ".png") ? ((str_contains($playerGame["platform"], "PS5")) ? "../missing-ps5-game-and-trophy.png" : "../missing-ps4-game.png") : $playerGame["icon_url"]; ?>" alt="<?= htmlentities($playerGame["name"]); ?>" width="100" />

<div class="vstack">
<span>
Expand Down

0 comments on commit 588a0d2

Please sign in to comment.