-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Hello everyone! Thank for your library, but i can't it use for now 😟
For what purpose some styles transformed to selectors with leading [dir] or [dir=ltr]?
Is it possible to leave original style with appended rtl rules?
Because there is some issues, for example, i'm using MUI with build-in jss styles and rtl.
So, also I use some styles from Bootstrap and at my css there is structure like this:
bootstrap.css
fieldset {
border: 0
}
mui styles
.Mui-some-class-for-fieldset {
border: 1
}
so by css rules - last with more weight. Class has more weight than tag selector. All is ok aaand
after postcss-rtl I have:
[dir] fieldset {...}
and .Mui-some-class-for-fieldset {}
So it breakes everything because now [dir] fieldset has more weight than mui selector. How a developer can predict all of this during develop?
I think it's not good to reassign selector`s weights for default direction.