Commit 217981e
fix(wordsInput): clamp #wordsInput from the left to #wordsWrapper (@nadalaba) (monkeytypegame#6637)
### Description
In RTL tape mode (which will be a reality after monkeytypegame#5748), if a long word
is wider than the #wordsWrapper, then #wordsInput may overflow to the
left causing a horizontal scroll to keep it in view. This PR prevents
its left edge from overflowing the #wordsWrapper.
Co-authored-by: Jack <[email protected]>1 parent 896c065 commit 217981e
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
| 459 | + | |
464 | 460 | | |
465 | 461 | | |
466 | 462 | | |
| |||
483 | 479 | | |
484 | 480 | | |
485 | 481 | | |
486 | | - | |
| 482 | + | |
487 | 483 | | |
488 | 484 | | |
489 | 485 | | |
| |||
0 commit comments