nylas-mail-lives / nylas-mail

:love_letter: An extensible desktop mail app built on the modern web.
MIT License
474 stars 63 forks source link

Message text not line-wrapped on reply or forward #180

Open webberian opened 6 years ago

webberian commented 6 years ago

When replying to or forwarding a plain-text email with the two panel layout, the quoted email's lines are not line-wrapped, making it hard to read.

Can anybody else reproduce this bug?

nirmit commented 6 years ago

I tried and I see it line-wrapped. See below.

screen shot 2017-12-13 at 12 20 02 pm
mikeseese commented 6 years ago

a screenshot would be good and a version number @davdavf. you can do the redacted stuff by Menu>Developer>Toggle Screenshot Mode

@nirmit you had this text on long lines, correct?

also @davdavf is it possible your nylas window was on the skinnier side? it's possible we have a min width supported for wrap before the content overflows

nirmit commented 6 years ago

Yes, it’s one line of garbage text!

On Wed, Dec 13, 2017 at 10:05 PM Mike Seese notifications@github.com wrote:

a screenshot would be good and a version number @davdavf https://github.com/davdavf. you can do the redacted stuff by Menu>Developer>Toggle Screenshot Mode

@nirmit https://github.com/nirmit you had this text on long lines, correct?

also @davdavf https://github.com/davdavf is it possible your nylas window was on the skinnier side? it's possible we have a min width supported for wrap before the content overflows

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/nylas-mail-lives/nylas-mail/issues/180#issuecomment-351595110, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaUJLa2JmhheutTpDecOnzTXxZPgmMuks5tAJBrgaJpZM4QuPwI .

webberian commented 6 years ago

I'm on version 2.2.2. With quoted text, it doesn't wrap no matter how big the window.

Just had a look at the formatting rules with the help of Developer Tools, and it seems that while the normal email text has the rule "white-space: pre-wrap", the quoted plaintext replies are being displayed in monospace font and with "white-space: pre".

Could this be the issue? nylas-wrap

nirmit commented 6 years ago

Curious to know what theme are you using.

On Mon, Dec 18, 2017 at 4:25 PM davdavf notifications@github.com wrote:

I'm on version 2.2.2. With quoted text, it doesn't wrap no matter how big the window.

Just had a look at the formatting rules with the help of Developer Tools, and it seems that while the normal email text has the rule "white-space: pre-wrap", the quoted plaintext replies are being displayed in monospace font and with "white-space: pre".

Could this be the issue? [image: nylas-wrap] https://user-images.githubusercontent.com/15054744/34128806-44f0ca90-e442-11e7-9572-322311780415.png

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/nylas-mail-lives/nylas-mail/issues/180#issuecomment-352562189, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaUJJ0ziD_IJsXBdUO2OgsVHoLgrA6jks5tBthkgaJpZM4QuPwI .

webberian commented 6 years ago

The standard Dark theme.