diff --git a/functions/index.js b/functions/index.js index bece0c2..3e6cbbc 100644 --- a/functions/index.js +++ b/functions/index.js @@ -611,7 +611,7 @@ exports.processAnswer = functions.https.onCall((data, context) => { currentVocab ); } else { - docData.questions.push(currentVocab); + docData.questions.push(currentVocab); } returnData.totalQuestions = docData.questions.length; returnData.totalIncorrect = docData.incorrect.length; diff --git a/src/css/OptionsListOverlay.css b/src/css/OptionsListOverlay.css index 376bc85..2789e88 100644 --- a/src/css/OptionsListOverlay.css +++ b/src/css/OptionsListOverlay.css @@ -1,13 +1,15 @@ .options-list-overlay-content { width: fit-content; - height: fit-content; padding: 0; + overflow: hidden; + justify-items: center; } .options-list-overlay-content > * { border-bottom: 1px solid var(--overlay-color); cursor: pointer; margin: 0; + width: calc(100% - 96px); } .options-list-overlay-content > *:not(:last-child) {