Skip to content

Commit 570e552

Browse files
committed
Undo change
1 parent 1ece87f commit 570e552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/data/material/customization/right-to-left/right-to-left.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Add `dir="rtl"` to the app's root `<html>` to set the global text direction:
2020
<html dir="rtl"></html>
2121
```
2222

23-
If you can't set the `dir` attribute directly on the root `<html>` element, as a workaround, use the JavaScript API before the page is rendered:
23+
If your React app doesn't control the root `<html>`, use the JavaScript API before the component tree is rendered, as a workaround:
2424

2525
```js
2626
document.dir = 'rtl';

0 commit comments

Comments
 (0)