Fix number of QR codes shown
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
.col.d-flex.flex-column style="height: calc(100% - 200px)"
|
.col.d-flex.flex-column style="height: calc(100% - 200px)"
|
||||||
.d-flex.flex-column style="overflow-y: auto;"
|
.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
|
.mt-4.d-flex.flex-row
|
||||||
- for col in 0..3
|
- for col in 0..3
|
||||||
- if row * 4 + col < @contestants.length
|
- if row * 4 + col < @contestants.length
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
h1.text-center.mt-4.mb-4 = @contest.name
|
h1.text-center.mt-4.mb-4 = @contest.name
|
||||||
|
|
||||||
.d-flex.flex-column.align-items-center
|
.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
|
.mt-4.d-flex.flex-row
|
||||||
- for col in 0..3
|
- for col in 0..3
|
||||||
- if row * 4 + col < @contestants.length
|
- if row * 4 + col < @contestants.length
|
||||||
|
|||||||
Reference in New Issue
Block a user