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

Add RTL support to input field and messages #24

Closed
wants to merge 3 commits into from

Conversation

yarons
Copy link

@yarons yarons commented May 16, 2021

This is using the dir=auto algorithm in addition to text-align: justify to correct the global text-align: left that applies to this text field.

Tested with inspector, hoping that's not out of the standard for this project.

Fixing the smaller problem mentioned in #12.

This is using the `dir=auto` algorithm in addition to `text-align: justify` to correct the global `text-align: left` that applies to this text field.

Tested with inspector, hoping that's not out of the standard for this project.
@@ -179,6 +179,8 @@
}

#editable-message-text {
text-align: justify;
direction: auto;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect, I'm fixing that, sorry about that.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in the next commit.

direction: auto isn't a thing appearently.
Same as master but now in the correct branch.
@yarons
Copy link
Author

yarons commented May 16, 2021

Just wanted to mention that the time label (in the bottom right corner) is now covered by the text, I'm not sure it's possible to fix it with the same css properties but I'll try.

@yarons yarons changed the title Add RTL support to message input field Add RTL support to input field and messages May 17, 2021
@Ajaxy
Copy link
Owner

Ajaxy commented May 17, 2021

Hi @yarons! Thanks for your contribution, we are testing this solution on our side.

@yarons
Copy link
Author

yarons commented May 17, 2021

Thank you so much, I've tested webk implementation and it works better than mine.

@Ajaxy Ajaxy closed this Jun 13, 2021
@yarons yarons deleted the patch-1 branch June 13, 2021 18:06
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

2 participants