diff --git a/src/dashboard/example/components/ScoreboardPanel.vue b/src/dashboard/example/components/ScoreboardPanel.vue index 9b77e4a..596ee88 100644 --- a/src/dashboard/example/components/ScoreboardPanel.vue +++ b/src/dashboard/example/components/ScoreboardPanel.vue @@ -1020,312 +1020,6 @@ watch( - -
-
- - -
- Left side -
-
- - - - - - -
- Left character preview -
- - - - - - - -
-
-
- -
- - -
-
- - -
- -
-
-
-
- -
- - -
- Right side -
-
- - - - - - -
- Right character preview -
- - - - - - - -
-
-
-
@@ -1504,31 +1198,11 @@ watch( font-weight: 700; } -.scoreboard-grid { - display: grid; - grid-template-columns: 1fr; - gap: 24px; - align-items: start; -} -.scoreboard-grid__side, -.scoreboard-grid__center { - min-width: 0; -} - -.character-preview { - width: 100%; - border-radius: 8px; - overflow: hidden; - border: 1px solid rgba(255, 255, 255, 0.12); - background: rgba(0, 0, 0, 0.25); -} - -.character-preview img { - display: block; - width: 100%; - height: 88px; - object-fit: cover; +@media (min-width: 1024px) { + .scoreboard-preview { + grid-template-columns: minmax(0, 1fr) minmax(320px, auto) minmax(0, 1fr); + } } @media (max-width: 900px) { @@ -1561,17 +1235,4 @@ watch( } } -@media (min-width: 1024px) { - .scoreboard-preview { - grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); - } - - .scoreboard-grid { - grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); - } - - .scoreboard-grid__center { - width: 220px; - } -}