Skip to content

Commit

Permalink
add either/or clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Oct 18, 2023
1 parent 8860a90 commit 16f21ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/data/joy/customization/right-to-left/right-to-left.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ This guide outlines the three steps necessary to change the direction of text-ba

## 1. Set the HTML direction

You can set the text direction either globally (across the entire app) or locally (specific to individual components), depending on your use case.

### Globally

Add `dir="rtl"` to the app's root `<html>` tag to set the global text direction:
Expand Down
2 changes: 2 additions & 0 deletions docs/data/material/guides/right-to-left/right-to-left.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ This guide outlines the three steps necessary to change the direction of text-ba

## 1. Set the HTML direction

You can set the text direction either globally (across the entire app) or locally (specific to individual components), depending on your use case.

### Globally

Add `dir="rtl"` to the app's root `<html>` to set the global text direction:
Expand Down

0 comments on commit 16f21ba

Please sign in to comment.