From 1099c880150457426e26dd71428bb43bc023c554 Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Tue, 27 Oct 2026 10:17:30 +0700 Subject: [PATCH] up --- src/components/ScreenPreview.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/ScreenPreview.vue b/src/components/ScreenPreview.vue index e8b56e7..e1aaeac 100644 --- a/src/components/ScreenPreview.vue +++ b/src/components/ScreenPreview.vue @@ -18,8 +18,7 @@ const props = defineProps<{ isThumbnail?: boolean }>() -const teamColumns = computed(() => Math.max(1, Math.ceil(Math.sqrt((props.teamNames?.length ?? 0) / 4)))) -const teamRows = computed(() => Math.max(1, Math.ceil((props.teamNames?.length ?? 0) / teamColumns.value))) +const teamRows = computed(() => Math.max(1, props.teamNames?.length ?? 0)) const timerNow = ref(Date.now()) const timerRemainingAtSync = ref(0) const timerSyncedAt = ref(Date.now()) @@ -113,7 +112,14 @@ onUnmounted(() => {

Список команд ещё не загружен

-
+

{{ name }}

Команды пока не зарегистрированы

@@ -280,8 +286,8 @@ onUnmounted(() => { .team-names { align-items: center; display: grid; - gap: 1.5cqw; - grid-auto-flow: column; + gap: 0.25em; + grid-template-columns: minmax(0, 1fr); height: 100%; }