You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
I can't imaging automagic line-breaks are desired in code snippets, but before I submit a PR, was there an intentional reason for doing this that I'm missing?
The reason will be displayed to describe this comment to others. Learn more.
Personally, if I'm looking at pre-formatted text, I don't want forced line-breaks -- it's pre-formatted for a reason. I think allowing the horizontal overflow to scroll on the element is the best idea, or (if the RWD word-wrap support must remain) wrap these lines in a media-query. Thoughts?
The reason will be displayed to describe this comment to others. Learn more.
Yep, you are right. Line-break was a bad ideia, horizontal scroll is much
better and should be default. Can you make a PR on this?
2013/12/13 Jeremy Helms notifications@github.com
Personally, if I'm looking at pre-formatted text, I don't want forced
line-breaks -- it's pre-formatted for a reason. I think allowing the
horizontal overflow to scroll on the element is the best idea, or (if the
RWD word-wrap support must remain) wrap these lines in a media-query.
Thoughts?
—
Reply to this email directly or view it on GitHubhttps://github.com/oswaldoacauan/ghostium/commit/904e6b571b7619289144227ef7ffaac0ae551bbb#commitcomment-4858331
.
904e6b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't imaging automagic line-breaks are desired in code snippets, but before I submit a PR, was there an intentional reason for doing this that I'm missing?
904e6b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mobile devices, if you have a better solution told me :D
904e6b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally, if I'm looking at pre-formatted text, I don't want forced line-breaks -- it's pre-formatted for a reason. I think allowing the horizontal overflow to scroll on the element is the best idea, or (if the RWD word-wrap support must remain) wrap these lines in a media-query. Thoughts?
904e6b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
904e6b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #36 🍻