fix: Passe Joker- und Punktebreite an und entferne Hintergrund von Jokerzelle.

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
torsten 2026-10-04 07:46:23 +02:00
parent 88005bee4a
commit eed4c00645

View file

@ -16,15 +16,15 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
.game-header {
width: 70px; /* Feste Breite für die Spiele-Spalten */
}
.tipp-points, .tipp-joker {
width: 35px; /* Aufteilung der game-header Breite */
box-sizing: border-box;
}
.tipp-points {
width: 50px; /* Feste Breite für Punkte, um Bündigkeit zu gewährleisten */
box-sizing: border-box;
text-align: right;
padding-right: 5px;
}
.tipp-joker {
width: 20px; /* Schmale Spalte für den Joker */
box-sizing: border-box;
padding-left: 5px;
text-align: left;
}
@ -100,7 +100,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
<td class="tipp-cell tipp-points <?php echo htmlspecialchars($td_class); ?>" title="<?php echo $title; ?>">
<?php echo $tipp['points']; ?>
</td>
<td class="tipp-cell tipp-joker <?php echo htmlspecialchars($td_class); ?>" title="<?php echo $title; ?>">
<td class="tipp-cell tipp-joker" title="<?php echo $title; ?>">
<?php if ($tipp['is_joker']): ?>
<img src="/image.php?file=icons/joker.png" alt="Joker" class="joker-icon" title="Joker">
<?php endif; ?>