diff --git a/app/features/scanner/components/MatchCard.module.css b/app/features/scanner/components/MatchCard.module.css index 2d80ba3f1..f45c9fd6f 100644 --- a/app/features/scanner/components/MatchCard.module.css +++ b/app/features/scanner/components/MatchCard.module.css @@ -67,7 +67,7 @@ .head { display: flex; flex-direction: column; - gap: var(--s-2); + gap: var(--s-4); padding: var(--s-3) var(--s-4); } @@ -120,11 +120,15 @@ } .title { + display: flex; + flex-direction: column; + gap: var(--s-1); font-size: var(--font-sm); line-height: 1.1; } .modeName { + font-size: var(--font-2xs); font-weight: var(--weight-semi); color: var(--color-text-high); } @@ -211,8 +215,8 @@ } .weapon { - width: 28px; - height: 28px; + width: 32px; + height: 32px; background: var(--color-bg-higher); border-radius: var(--radius-full); padding: 2px; diff --git a/app/features/scanner/components/MatchCard.tsx b/app/features/scanner/components/MatchCard.tsx index 958720159..1fedb9496 100644 --- a/app/features/scanner/components/MatchCard.tsx +++ b/app/features/scanner/components/MatchCard.tsx @@ -126,9 +126,6 @@ export function MatchCard({ (event) => event.detectedAt !== undefined, )?.detectedAt; const meta = [ - kind === "vod" && match.startsAt !== null - ? `at ${formatPosition(match.startsAt - originT)}` - : null, match.lobby !== null && match.lobby !== "PRIVATE" ? lobbyLabel(match.lobby) : null, @@ -149,7 +146,13 @@ export function MatchCard({
Game {number} - {scannedAt !== undefined ? ( + {kind === "vod" ? ( + match.startsAt !== null ? ( + + {formatPosition(match.startsAt - originT)} + + ) : null + ) : scannedAt !== undefined ? (
{modeLabel(match.mode) ? ( - - {modeLabel(match.mode)} ยท{" "} - + {modeLabel(match.mode)} ) : null} {stageLabel(match.stage) ?? "Unknown stage"} @@ -361,8 +362,8 @@ function TeamWeapons({ match }: { match: ScannerMatch }) { ) : (