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: message text should wrap without causing extremely wide messages #2336

Merged
merged 1 commit into from
May 20, 2022

Conversation

yougotwill
Copy link
Collaborator

Contributor checklist:

Description

When we have long messages with a link, the link wraps below the text and causes a large amount of white space. It would be better for the link text to wrap around.

Before:
Screen Shot 2022-05-20 at 2 51 11 pm

After:
Screen Shot 2022-05-20 at 2 49 30 pm

@Bilb
Copy link
Collaborator

Bilb commented May 20, 2022

lgtm

@Bilb Bilb merged commit fb0592d into oxen-io:clearnet May 20, 2022
@ianmacd
Copy link

ianmacd commented May 20, 2022

Unfortunately, this also breaks the flow of messages containing normal language:

image

See how "pretty" is wrapped mid-word? Not ideal.

ianmacd added a commit to ianmacd/session-desktop that referenced this pull request May 20, 2022
…wrapping"

This reverts commit fb0592d, reversing
changes made to ca0c743.
ianmacd added a commit to ianmacd/session-desktop that referenced this pull request May 20, 2022
…wrapping"

This reverts commit fb0592d, reversing
changes made to ca0c743.
@yougotwill
Copy link
Collaborator Author

Hi @ianmacd good catch! That's my mistake. I'll sort it out on Monday. Thank you for bringing it to my attention.

@yougotwill yougotwill deleted the message_text_wrapping branch May 23, 2022 03:34
ianmacd added a commit to ianmacd/session-desktop that referenced this pull request May 23, 2022
…wrapping"

This reverts commit fb0592d, reversing
changes made to ca0c743.
ianmacd added a commit to ianmacd/session-desktop that referenced this pull request May 24, 2022
…wrapping"

This reverts commit fb0592d, reversing
changes made to ca0c743.
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

3 participants