From f87f62f11154a83b76f81fb817abf60c51946e07 Mon Sep 17 00:00:00 2001 From: bisco Date: Wed, 3 Jun 2026 23:15:30 +0200 Subject: [PATCH] fix: allow returning from player detail to results --- frontend/src/app/app.component.css | 28 +++++++++++++++++++++++++- frontend/src/app/app.component.html | 13 +++++++----- frontend/src/app/app.component.spec.ts | 16 +++++++++++++++ frontend/src/app/app.component.ts | 18 ++++++++++++++--- 4 files changed, 66 insertions(+), 9 deletions(-) diff --git a/frontend/src/app/app.component.css b/frontend/src/app/app.component.css index 80c88bd..663cc93 100644 --- a/frontend/src/app/app.component.css +++ b/frontend/src/app/app.component.css @@ -126,6 +126,12 @@ button { background: #e7eeeb; } +.compact { + min-height: 34px; + padding: 0 10px; + white-space: nowrap; +} + .sort { min-height: 30px; padding: 0 10px; @@ -152,12 +158,16 @@ button { .workspace { display: grid; - grid-template-columns: minmax(0, 1fr) 390px; + grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 14px; align-items: start; } +.workspace.detail-open { + grid-template-columns: minmax(0, 1fr) 390px; +} + .table-wrap, .detail { background: var(--panel); @@ -229,6 +239,13 @@ td small { top: 14px; } +.detail-header { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; +} + .role { margin: 6px 0 0; color: var(--muted); @@ -311,6 +328,10 @@ dd { grid-template-columns: 1fr; } + .workspace.detail-open { + grid-template-columns: 1fr; + } + .table-wrap { max-height: none; } @@ -364,6 +385,11 @@ dd { h1 { font-size: 2.6rem; } + + .detail-header { + display: grid; + grid-template-columns: 1fr; + } } @media (max-width: 520px) { diff --git a/frontend/src/app/app.component.html b/frontend/src/app/app.component.html index 4c588ab..e13e1ea 100644 --- a/frontend/src/app/app.component.html +++ b/frontend/src/app/app.component.html @@ -81,7 +81,7 @@

{{ errorMessage }}

-
+
@@ -129,10 +129,13 @@