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 60dbdeb..eec0599 100644 --- a/src/dashboard/example/views/Dashboard.vue +++ b/src/dashboard/example/views/Dashboard.vue @@ -11,29 +11,27 @@ useHead({ title: 'Dashboard' });