diff options
-rw-r--r-- | frontend/src/ts/test/test-ui.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/src/ts/test/test-ui.ts b/frontend/src/ts/test/test-ui.ts index 82703f241..1c5c882f2 100644 --- a/frontend/src/ts/test/test-ui.ts +++ b/frontend/src/ts/test/test-ui.ts @@ -274,6 +274,9 @@ function updateWordsHeight(force = false): void { } wordIndex++; } + + if (lines < 3) wrapperHeight = wrapperHeight * (3 / lines); + const wordsHeight = (wrapperHeight / 3) * 4; finalWordsHeight = wordsHeight; |