From 0418a6b46aa2501fd9f390be2c60e97e8f4dc77f Mon Sep 17 00:00:00 2001
From: Ilion Beyst <ilion.beyst@gmail.com>
Date: Sun, 26 Dec 2021 22:14:59 +0100
Subject: show match name in matchbrowser

---
 web/pw-frontend/src/lib/MatchBrowser.svelte | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'web/pw-frontend/src/lib/MatchBrowser.svelte')

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 {
-- 
cgit v1.2.3

