From d900e45352d3aa787d156a562cb836145c019d17 Mon Sep 17 00:00:00 2001 From: arnef Date: Thu, 10 Sep 2026 15:51:24 +0200 Subject: [PATCH] fix: match detail header bg to page and use theme-aware clock --- apps/frontend/src/components/Card.tsx | 2 +- apps/frontend/src/pages/MatchDetails.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/frontend/src/components/Card.tsx b/apps/frontend/src/components/Card.tsx index 82a7872..c774fa6 100644 --- a/apps/frontend/src/components/Card.tsx +++ b/apps/frontend/src/components/Card.tsx @@ -21,7 +21,7 @@ export function Card(props: CardProps) { const base = () => `border border-line ${ - local.variant === "section" ? "bg-surface/50 rounded-2xl" : "bg-surface rounded-xl" + local.variant === "section" ? "bg-surface2 rounded-2xl" : "bg-surface rounded-xl" } ${local.shadowed ? "shadow-md" : ""} ${local.class ?? ""}`; const children = local.children as Flow; diff --git a/apps/frontend/src/pages/MatchDetails.tsx b/apps/frontend/src/pages/MatchDetails.tsx index 99bb196..1d2ba77 100644 --- a/apps/frontend/src/pages/MatchDetails.tsx +++ b/apps/frontend/src/pages/MatchDetails.tsx @@ -44,8 +44,8 @@ export function MatchPage() { Back -
- {/*
*/} +
+ {/*
*/} }> - + {new Date(props.match.scheduledAt).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit",