diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-26 22:14:59 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-26 22:14:59 +0100 |
commit | 0418a6b46aa2501fd9f390be2c60e97e8f4dc77f (patch) | |
tree | 2024fde6904a7d92b654e210245870f5b9ba6880 /web/pw-frontend/src | |
parent | 044e13940ed2fa8882fe39c5981fc4eb16efe69c (diff) | |
download | planetwars.dev-0418a6b46aa2501fd9f390be2c60e97e8f4dc77f.tar.xz planetwars.dev-0418a6b46aa2501fd9f390be2c60e97e8f4dc77f.zip |
show match name in matchbrowser
Diffstat (limited to 'web/pw-frontend/src')
-rw-r--r-- | web/pw-frontend/src/lib/MatchBrowser.svelte | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/pw-frontend/src/lib/MatchBrowser.svelte b/web/pw-frontend/src/lib/MatchBrowser.svelte index 6885446..aeb45be 100644 --- a/web/pw-frontend/src/lib/MatchBrowser.svelte +++ b/web/pw-frontend/src/lib/MatchBrowser.svelte @@ -59,7 +59,8 @@ class:selected={selectedMatch === match.name} class="match-card" > - <span class="match-timestamp"> {showTimestamp(match.timestamp)}</span> + <div class="match-name">{match.name}</div> + <span class="match-timestamp">{showTimestamp(match.timestamp)}</span> <span class="match-mapname">{match.map_name}</span> <ul class="match-player-list"> {#each match.players as player, ix} @@ -127,6 +128,7 @@ .match-mapname { padding: 0 0.5em; + color: #ccc; } .match-player-list { |