-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to make rtl? #206
Comments
its work for me. |
@Erkajp the code that @Arashfiroozabadi just posted works very well! |
@Arashfiroozabadi Thank You! |
A workaround could be: "#nprogress": {
transform: isRTL() ? "scaleX(-1)" : "unset",
position: "fixed",
top: 0,
left: 0,
right: 0,
zIndex: 9999999,
}, You can use JS to detect RTL if you're using JSS or use css selectors. No need to change anything in node_modules. |
It works, but here's a shorter way: add
Line 349 in e1a8b7f
Line 351 in e1a8b7f
|
Thank @alikazemkhanloo. I used this (w/o JS): [dir='rtl'] body > div#nprogress {
transform: scaleX(-1);
position: fixed;
right: 0;
top: 0;
left: 0;
} |
No description provided.
The text was updated successfully, but these errors were encountered: