mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-28 22:31:22 -05:00
Style tweaks
This commit is contained in:
@@ -350,18 +350,19 @@ button.expand {
|
||||
font-size: var(--font-xs);
|
||||
|
||||
& td {
|
||||
padding: var(--s-0-5) var(--s-1-5);
|
||||
padding: var(--s-1);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
& tr.pov {
|
||||
font-weight: var(--weight-bold);
|
||||
& .weapon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
/* the round weapon badge plus the cell padding, so the image is never squeezed */
|
||||
.weaponCell {
|
||||
width: 40px;
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
.name {
|
||||
|
||||
@@ -400,13 +400,13 @@ function Scoreboard({
|
||||
const isPov =
|
||||
match.pov?.team === team && match.pov.index === index;
|
||||
return (
|
||||
<tr key={index} className={clsx({ [styles.pov]: isPov })}>
|
||||
<tr key={index}>
|
||||
<td className={styles.weaponCell}>
|
||||
{player.weaponId !== null ? (
|
||||
<WeaponImage
|
||||
weaponSplId={player.weaponId}
|
||||
variant="build"
|
||||
size={24}
|
||||
size={32}
|
||||
className={clsx(styles.weapon, {
|
||||
[styles.pov]: isPov,
|
||||
})}
|
||||
@@ -422,10 +422,7 @@ function Scoreboard({
|
||||
</span>
|
||||
)}
|
||||
</td>
|
||||
<td className={styles.name}>
|
||||
{isPov ? "▸ " : null}
|
||||
{player.name ?? "?"}
|
||||
</td>
|
||||
<td className={styles.name}>{player.name ?? "?"}</td>
|
||||
<td className={styles.num}>
|
||||
{player.ka ?? "?"}/{player.d ?? "?"}/{player.s ?? "?"}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user