creativetimofficial / material-kit

Free and Open Source UI Kit for Bootstrap 5, React, Vue.js, React Native and Sketch based on Google's Material Design
https://www.creative-tim.com/product/material-kit?ref=mk-creativetimofficial-github
MIT License
5.91k stars 1.35k forks source link

[Bug] ms-auto doesn't respect RTL layouts #212

Closed jamiehunt closed 2 years ago

jamiehunt commented 2 years ago

Version

3.0.4

Steps to reproduce

The ms-auto class makes assumptions we are using a LTR layout.

.ms-auto {
    margin-left: auto!important;
}

What is expected?

ms-auto is able to handle RTL layouts and uses margin-right: auto!important in this scenario.

What is actually happening?

ms-auto does not handle RTL layouts and uses margin-left: auto!important all scenarios.


Solution

Additional comments

github-actions[bot] commented 2 years ago

@jamiehunt this issue was automatically closed because it did not follow the bellow rules:


IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/material-kit

**If your issue was not created using the app above, it will be closed immediately.**

Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com

groovemen commented 2 years ago

Hello @jamiehunt,

Thank you for using our products, I will talk with my colleagues about this approach and if there will be more users asking for this, we will implement it into future product updates. Please let us know if we can help you with something else. All the best, Stefan