-
Notifications
You must be signed in to change notification settings - Fork 265
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
style: Add RTL support #643
Conversation
switched directional attributes like: margin-* padding-* with margin-inline-* padding-inline-* Added direction option to Options story
inline-start/end might be a bit confusing so I commented what each of them means in ltr
This is pretty cool, thanks for sending this! Ava JS is messing up the tests so I need to run some offline checks to make sure everything checks out, stay tuned! |
@mrchief after looking a bit more into it |
With solution a, do you mean adding a autoprefixer to our own build process so that the styles are auto prefixed or is it something the caller would be have to use? If it's the former, I think that is ok. The later imposes an additional build step for the caller which I'd like to avoid. |
Your build process already has autoprefixing. |
Right, but your idea made it sound like we need additional stuff. |
well, we do not need anything extra, and the idea also does not add any requirements for the end developer/caller, this is purely a code style thing |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
Not stale |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions. |
switched directional attributes like:
margin-left/right
padding-left/right
with
margin-inline-start/end
padding-inline-start/end
which switch direction when in rtl mode
What does it do?
css now works as expected in both rtl and ltr pages
Fixes # (issue)
Fixes #642
Type of change
Please delete options that are not relevant.
Checklist: