From ea560318d0c1fb44293183157c70d69be298afeb Mon Sep 17 00:00:00 2001 From: Pandipipas <62224708+Pandipipas@users.noreply.github.com> Date: Thu, 12 Feb 2026 01:41:01 +0100 Subject: [PATCH] Fix dashboard spacing and scoreboard column symmetry --- .../example/components/ScoreboardPanel.vue | 30 ++++++- src/dashboard/example/views/Dashboard.vue | 79 +++++++++++-------- 2 files changed, 72 insertions(+), 37 deletions(-) diff --git a/src/dashboard/example/components/ScoreboardPanel.vue b/src/dashboard/example/components/ScoreboardPanel.vue index 2163f48..c99bba6 100644 --- a/src/dashboard/example/components/ScoreboardPanel.vue +++ b/src/dashboard/example/components/ScoreboardPanel.vue @@ -576,8 +576,8 @@ watchEffect(() => { -
-
+
+
{
-
+
{
-
+
{ flex-direction: column; gap: 16px; } + +.scoreboard-grid { + display: grid; + grid-template-columns: 1fr; + gap: 24px; + align-items: start; +} + +.scoreboard-grid__side, +.scoreboard-grid__center { + min-width: 0; +} + +@media (min-width: 1024px) { + .scoreboard-grid { + grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); + } + + .scoreboard-grid__center { + width: 220px; + } +} diff --git a/src/dashboard/example/views/Dashboard.vue b/src/dashboard/example/views/Dashboard.vue index d8839fc..eec0599 100644 --- a/src/dashboard/example/views/Dashboard.vue +++ b/src/dashboard/example/views/Dashboard.vue @@ -11,41 +11,35 @@ useHead({ title: 'Dashboard' });