Repository navigation
Commit 0967483
fix(desktop): keep annotation comment direction independent of host page
The preview annotation overlay inherited its text direction from the
inspected page's document, so RTL comments (Arabic, Hebrew, Persian)
were misaligned on LTR pages, and forcing the host page to RTL mirrored
the entire annotation toolbar instead of only the comment text.
Pin the overlay host/root to dir="ltr" so the annotation chrome always
has a stable layout, and set dir="auto" on the comment textarea so its
direction is inferred from the typed content instead of inherited.
Fixes #4644
Co-Authored-By: Claude Sonnet 5 <[email protected]>1 parent e16b8b0 commit 0967483
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| 439 | + | |
439 | 440 | | |
440 | 441 | | |
441 | 442 | | |
| |||
445 | 446 | | |
446 | 447 | | |
447 | 448 | | |
| 449 | + | |
448 | 450 | | |
449 | 451 | | |
450 | 452 | | |
| |||
494 | 496 | | |
495 | 497 | | |
496 | 498 | | |
| 499 | + | |
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
| |||
0 commit comments