From 53d26284086e53f7705eeca592416d840b0209b6 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Wed, 11 May 2022 13:16:43 -0500 Subject: [PATCH] better formatting to fit on phone for equative game --- src/games/GameCore.tsx | 2 +- src/games/sub-cores/EquativeGame.tsx | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/games/GameCore.tsx b/src/games/GameCore.tsx index 954cc76..03c3d5c 100644 --- a/src/games/GameCore.tsx +++ b/src/games/GameCore.tsx @@ -145,7 +145,7 @@ function GameCore({ questions, Display, timeLimit, Instructions, studyLink, i } -
+
{finish === undefined && (current ?
diff --git a/src/games/sub-cores/EquativeGame.tsx b/src/games/sub-cores/EquativeGame.tsx index fe919e5..5ad67e2 100644 --- a/src/games/sub-cores/EquativeGame.tsx +++ b/src/games/sub-cores/EquativeGame.tsx @@ -333,22 +333,22 @@ export default function EquativeGame({ id, link, level }: { id: string, link: st return
{(level === "allIdentify" || level === "situations") ? -
+
{"situation" in question ?

{question.situation.description}

: {randFromArray(question.phrase.ps)} }
- : !("situation" in question) &&
- + : !("situation" in question) &&
+ {/* @ts-ignore TODO: REMOVE AS P_INFLE */} {modExs(question.phrase.ps, withBa)[0]} {question.phrase.e && question.phrase.e.map((e, i) => ( -
{e}
+
{e}
))} -
{humanReadableTense(question.EPS.equative.tense)} equative
+
{humanReadableTense(question.EPS.equative.tense)} equative
} {level === "allIdentify" || "situation" in question ?
@@ -376,7 +376,7 @@ export default function EquativeGame({ id, link, level }: { id: string, link: st with {grammarUnits.baParticle} in the kids' section
-
+