| ... | ... | @@ -554,6 +554,7 @@ function startAnnotation(sendEnabled: boolean): void { |
| 554 | 554 | let finished = false; |
| 555 | 555 | const host = document.createElement("div"); |
| 556 | 556 | host.setAttribute(OVERLAY_ATTRIBUTE, ""); |
| 557 | host.setAttribute("dir", "ltr"); |
| 557 | 558 | host.style.cssText = `position:fixed;inset:0;z-index:${Z_INDEX_OVERLAY};pointer-events:none`; |
| 558 | 559 | applyAnnotationTheme(host, annotationTheme); |
| 559 | 560 | const shadowRoot = host.attachShadow({ mode: "closed" }); |
| ... | ... | @@ -563,6 +564,7 @@ function startAnnotation(sendEnabled: boolean): void { |
| 563 | 564 | |
| 564 | 565 | const root = document.createElement("div"); |
| 565 | 566 | root.setAttribute(OVERLAY_ATTRIBUTE, ""); |
| 567 | root.setAttribute("dir", "ltr"); |
| 566 | 568 | root.className = "fixed inset-0 font-sans text-foreground"; |
| 567 | 569 | root.style.cssText = "pointer-events:none"; |
| 568 | 570 | const cursorStyle = document.createElement("style"); |
| ... | ... | @@ -612,6 +614,7 @@ function startAnnotation(sendEnabled: boolean): void { |
| 612 | 614 | |
| 613 | 615 | const comment = document.createElement("textarea"); |
| 614 | 616 | comment.placeholder = "Describe the change…"; |
| 617 | comment.setAttribute("dir", "auto"); |
| 615 | 618 | comment.rows = 1; |
| 616 | 619 | comment.className = |
| 617 | 620 | "min-h-8 max-h-24 min-w-0 flex-1 resize-none overflow-y-hidden border-0 border-b border-b-transparent bg-transparent px-0 py-1.5 font-sans text-sm leading-5 text-foreground outline-none ring-0 placeholder:text-muted-foreground focus:border-b-primary focus:outline-none focus:ring-0"; |