Skip to content
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 can i change project direction to RTL? #16

Closed
moshtaghi opened this issue Apr 7, 2018 · 7 comments · Fixed by #158
Closed

How can i change project direction to RTL? #16

moshtaghi opened this issue Apr 7, 2018 · 7 comments · Fixed by #158
Assignees

Comments

@moshtaghi
Copy link

moshtaghi commented Apr 7, 2018

i read this document, but i don't understand "step 2", which file is custom theme config?

@mbrookes
Copy link

mbrookes commented Apr 7, 2018

https://material-ui-next.com/customization/themes/

Do you want to add a link in the RTL guide to that section? (BTW, wrong repo for this issue.)

@einazare
Copy link
Contributor

einazare commented Apr 7, 2018

Hello @moshtaghi and @mbrookes ,

This product does not support RTL.
I am going to discuss this with my superior and see if we are going to add RTL or not, probably we are going to add support.
I'll come again here with a response in a few days.

Best,
Manu

@einazare einazare self-assigned this Apr 7, 2018
@moshtaghi
Copy link
Author

moshtaghi commented Apr 9, 2018

hey @einazare
this fork, support RTL. i hope useful for everyone need

https://github.com/moshtaghi/material-dashboard-react-rtl

@dalwadani
Copy link

hello @moshtaghi ,
Thanks for creating this fork it is working correctly when running locally. However, when I created the production build using "yarn build" it will break. See screenshot:
screen shot 2018-06-02 at 8 41 24 am

Any ideas?

@galdanay
Copy link

Hello @moshtaghi and @mbrookes ,

This product does not support RTL.
I am going to discuss this with my superior and see if we are going to add RTL or not, probably we are going to add support.
I'll come again here with a response in a few days.

Best,
Manu

Hi @einazare any update for the RTL? in the https://demos.creative-tim.com/material-dashboard-react/#/admin/dashboard there is a RTL page.
But is all the component can get "rtlActive" as a props?
For example the Button ?
Thanks , Gal.

@einazare
Copy link
Contributor

Hello there, @galdanay ,

Only the components present in the RTL page are working on RTL.
Buttons usually have the text centered, so either way, RTL, LTR should work fine.

Best,
Manu

@galdanay
Copy link

@einazare thanks!
I am trying to support RTL - for example the CustomInput has RTL in the RTL page.
I cant see any information in the documentation page about how to use RTL:
https://demos.creative-tim.com/material-dashboard-react/#/documentation/
If there will be some simple example for how to set RTL it's will be great.
Thanks,
Gal.

einazare added a commit that referenced this issue May 7, 2021
Closes #145
Closes #140
Closes #138
Closes #137
Closes #133
Closes #16
This was referenced May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants