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

Fix Right-To-Left text #1129

Open
SPiRiT369 opened this issue Jul 31, 2023 · 0 comments
Open

Fix Right-To-Left text #1129

SPiRiT369 opened this issue Jul 31, 2023 · 0 comments

Comments

@SPiRiT369
Copy link

SPiRiT369 commented Jul 31, 2023

Describe the bug
When typing Right-To-Left text, the messages' timestamp is not aligned correctly.

To Reproduce
Type any RTL message.
Sample text for testing: הטקסט הזה הוא מימין לשמאל...

Expected behavior

  • The timestamp should appear to the right of the message, just like in English.
  • The RTL message should be displayed correctly (e.g. a dot should be on the left, and not on the right like in English).

I have tested it in Linux with latest Hydrogen web.

Screenshots
This is how it looks:
image

This is how it should look:
I fixed it by adding the actual text inside html element with css: "display:inline-block; unicode-bidi:plaintext;".
(I'm sorry, I'm not a developer so I don't know how to fix it in the code and with git...)
image

image

Will appreciate your help fixing it. Thank you ❤️

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

No branches or pull requests

1 participant