Skip to content

Commit

Permalink
🐛 Adjusted font size for players in classic mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mawoka-myblock committed Oct 18, 2023
1 parent 02bc36a commit 22f0e9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/lib/play/question.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ SPDX-License-Identifier: MPL-2.0
<div class="h-screen w-screen">
{#if game_mode === 'normal'}
<div
class="flex flex-col justify-start w-screen"
class="flex flex-col justify-start"
style="height: {question.image ? '33.333333' : '16.666667'}%"
>
<h1 class="text-3xl text-center text-black dark:text-white mt-2">
<h1 class="lg:text-2xl text-lg text-center text-black dark:text-white mt-2 break-normal mb-2">
{@html question.question}
</h1>
{#if question.image !== null && game_mode !== 'kahoot'}
Expand All @@ -165,7 +165,7 @@ SPDX-License-Identifier: MPL-2.0
{/if}
{#if timer_res !== '0'}
{#if question.type === QuizQuestionType.ABCD || question.type === QuizQuestionType.VOTING}
<div class="w-full relative" style="height: {get_div_height()}%">
<div class="w-full relative h-full" style="height: {get_div_height()}%">
<div
class="absolute top-0 bottom-0 left-0 right-0 m-auto rounded-full h-fit w-fit border-2 border-black shadow-2xl z-40"
>
Expand Down

0 comments on commit 22f0e9f

Please sign in to comment.