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

UIKit 4: Start using logical properties #4170

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

C-Lodder
Copy link

@C-Lodder C-Lodder commented Apr 9, 2020

Assuming UIKit 4 will not support IE11, this PR replaces left and right text alignments with start and end.

The benefit of this is that properties do not need to be reversed for RTL mode...it's done automatically by the browser.

If this is accepted, I'll be more than happy to start working on other logical properties, such as:

  • margin
  • padding
  • border

There are certain logical properties that are still unsuupported (mainly by Safari), but I reckon they'll start supporting them in the not too distant future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant