From bb99648822810fb41476cae991b31a9673dea8b9 Mon Sep 17 00:00:00 2001 From: Ching L Date: Thu, 6 Mar 2025 10:10:36 +0800 Subject: [PATCH] style: Enhance recent matches template layout and responsiveness --- templates/recent_matches.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/recent_matches.html b/templates/recent_matches.html index 385fb40..0a5afcc 100644 --- a/templates/recent_matches.html +++ b/templates/recent_matches.html @@ -17,7 +17,7 @@ padding: 15px; box-sizing: border-box; width: fit-content; - max-width: 500px; + max-width: 600px; } .header { display: flex; @@ -87,6 +87,7 @@ .match-stats { display: flex; flex-direction: column; + flex-grow: 1; } .kda { font-weight: bold; @@ -95,15 +96,17 @@ } .match-info { display: flex; - gap: 10px; + gap: 12px; font-size: 0.9em; color: #dddddd; + flex-wrap: nowrap; } .match-duration, .match-party, .match-rank { display: flex; align-items: center; + white-space: nowrap; } .match-duration::before { content: "️";