You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to support Arabic on the site we need to support right to left (RTL) functionality.
In the Detroit repo, the majority of this was accomplished by setting the site "dir" when Arabic is selected. We also added an RTL Tailwind extension. There were a few places we had to directly customize CSS to manage RTL changes.
For this ticket, we'll just add the dir property. We won't be able to QA this until the new frontend work is in, so once this is added we'll be able to QA RTL in the UI as we go.
We haven't tested seeds with RTL functionality. It's likely we will need to build RTL compatibility into seeds, which could require seeds changes to make class name adjustments from things like margin-left to margin-inline-start. We can add the dir and see what it looks like first, but we will need to do this seeds work as well. We might need to norm about margin-inline-start/end and margin-block-start/end over left/right in CSS.
Perhaps there's a reason it was on body in the previous repo, but I'll go into this assuming we should go with best practice. I'm also going to use an array of rtl languages rather than hard-coding a single ar check.
In order to support Arabic on the site we need to support right to left (RTL) functionality.
In the Detroit repo, the majority of this was accomplished by setting the site "dir" when Arabic is selected. We also added an RTL Tailwind extension. There were a few places we had to directly customize CSS to manage RTL changes.
For this ticket, we'll just add the dir property. We won't be able to QA this until the new frontend work is in, so once this is added we'll be able to QA RTL in the UI as we go.
The text was updated successfully, but these errors were encountered: