fix(error-overlay): force error overlay direction to be LTR (#6782)
This commit is contained in:
parent
a91e0156ab
commit
c12ca5ece3
2 changed files with 6 additions and 0 deletions
5
.changeset/beige-humans-study.md
Normal file
5
.changeset/beige-humans-study.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Force error overlay direction to be LTR
|
|
@ -584,6 +584,7 @@ class ErrorOverlay extends HTMLElement {
|
|||
super();
|
||||
this.root = this.attachShadow({ mode: 'open' });
|
||||
this.root.innerHTML = overlayTemplate;
|
||||
this.dir = 'ltr';
|
||||
|
||||
// theme toggle logic
|
||||
const themeToggle = this.root.querySelector<HTMLInputElement>('.theme-toggle-checkbox');
|
||||
|
|
Loading…
Reference in a new issue