From 83caf1b8586a42f699c6458ae84063b435e0b8a8 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Sun, 7 Dec 2025 20:15:15 +0100 Subject: [PATCH] fix: Align MVP badge and trophy icon inline with player names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap player name, avatar, and badges in a flex container to ensure MVP badge and team-top trophy icon appear inline rather than breaking to a new line. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/routes/match/[id]/+page.svelte | 120 +++++++++++++++-------------- 1 file changed, 62 insertions(+), 58 deletions(-) diff --git a/src/routes/match/[id]/+page.svelte b/src/routes/match/[id]/+page.svelte index 50c7e23..7b37690 100644 --- a/src/routes/match/[id]/+page.svelte +++ b/src/routes/match/[id]/+page.svelte @@ -158,36 +158,38 @@ {#each sortedTeamA as player, index} - - {#if player.avatar} - {player.name} - {:else} -
- -
- {/if} - {player.name} -
- {#if player.id === mvpPlayerId} - + - - MVP - - {:else if index === 0} - - {/if} + {#if player.avatar} + {player.name} + {:else} +
+ +
+ {/if} + {player.name} +
+ {#if player.id === mvpPlayerId} + + + MVP + + {:else if index === 0} + + {/if} + {player.kills} {player.deaths} @@ -240,36 +242,38 @@ {#each sortedTeamB as player, index} - - {#if player.avatar} - {player.name} - {:else} -
- -
- {/if} - {player.name} -
- {#if player.id === mvpPlayerId} - + - - MVP - - {:else if index === 0} - - {/if} + {#if player.avatar} + {player.name} + {:else} +
+ +
+ {/if} + {player.name} +
+ {#if player.id === mvpPlayerId} + + + MVP + + {:else if index === 0} + + {/if} + {player.kills} {player.deaths}