show match name in matchbrowser

This commit is contained in:
Ilion Beyst 2021-12-26 22:14:59 +01:00
parent 044e13940e
commit 0418a6b46a

View file

@ -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 {