Fix number of QR codes shown

This commit is contained in:
sto
2025-11-25 09:58:14 +01:00
parent 768af7c3e9
commit 7a80c434af
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
.col.d-flex.flex-column style="height: calc(100% - 200px)"
.d-flex.flex-column style="overflow-y: auto;"
- for row in 0..((@contestants.length - 1) / 5)
- for row in 0..((@contestants.length - 1) / 4)
.mt-4.d-flex.flex-row
- for col in 0..3
- if row * 4 + col < @contestants.length

View File

@@ -1,7 +1,7 @@
h1.text-center.mt-4.mb-4 = @contest.name
.d-flex.flex-column.align-items-center
- for row in 0..((@contestants.length - 1) / 5)
- for row in 0..((@contestants.length - 1) / 4)
.mt-4.d-flex.flex-row
- for col in 0..3
- if row * 4 + col < @contestants.length