Moved QR-code down a bit

This commit is contained in:
Mawoka
2023-01-18 20:44:15 +01:00
parent 6227238af1
commit 4a3debfbbf
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -132,6 +132,7 @@ class QuizQuestion(BaseModel):
@validator("answers")
def answers_not_none_if_abcd_type(cls, v, values):
# print(values)
if values["type"] == QuizQuestionType.ABCD and type(v[0]) != ABCDQuizAnswer:
raise ValueError("Answers can't be none if type is ABCD")
if values["type"] == QuizQuestionType.RANGE and type(v) != RangeQuizAnswer:
+1 -1
View File
@@ -172,7 +172,7 @@
<img
alt="QR code to join the game"
src="/api/v1/utils/qr/{quiz_data.game_pin}?dark_mode={bg_color ? false : darkMode}"
class="block mx-auto w-1/6"
class="block mx-auto w-1/6 mt-12"
/>
<p class="text-3xl text-center ">{$t('words.pin')}: {quiz_data.game_pin}</p>
<div class="flex justify-center w-full mt-4">