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 our React code, there are a few dozen instances of explicitly defined left, right, marginLeft, marginRight, paddingLeft, paddingRight, and borderLeft which don't reverse when the UI language is switched to Arabic, a right-to-left (RTL) language.
We can use (e.g.) style={(document.body.dir === "rtl" ? { left: 0 } : { right: 0 }}, but it would be better to implement more global theme/style solutions.
The text was updated successfully, but these errors were encountered:
In our React code, there are a few dozen instances of explicitly defined
left
,right
,marginLeft
,marginRight
,paddingLeft
,paddingRight
, andborderLeft
which don't reverse when the UI language is switched to Arabic, a right-to-left (RTL) language.We can use (e.g.)
style={(document.body.dir === "rtl" ? { left: 0 } : { right: 0 }}
, but it would be better to implement more global theme/style solutions.The text was updated successfully, but these errors were encountered: