Skip to content

Commit f99c843

Browse files
committed
fix(tape mode): some words sometimes being removed on test restart
1 parent 132bdc3 commit f99c843

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/ts/test/test-ui.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ export function updateWordsWrapperHeight(force = false): void {
704704

705705
function updateWordsMargin(): void {
706706
if (Config.tapeMode !== "off") {
707+
wordsEl.style.marginLeft = "0";
707708
void scrollTape(true);
708709
} else {
709710
const afterNewlineEls =

0 commit comments

Comments
 (0)