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

Use pre-wrap instead of pre to wrap long lines #48

Merged

Conversation

manicmaniac
Copy link
Contributor

Overview

I found a long line caused the layout broken.
When a long line enough to cover a whole screen, the rest columns becomes too small, hard to be selected.

Solution

I fixed the problem by using white-space: pre-wrap; instead of white-space: pre;.

Screenshots

before after
before after

@antoinejaussoin
Copy link
Owner

That actually looks like a very reasonable fix!! Thanks!

@antoinejaussoin antoinejaussoin merged commit f6f5174 into antoinejaussoin:develop Nov 11, 2019
@antoinejaussoin
Copy link
Owner

Merged to master and deployed to retrospected.com. Thanks again!

antoinejaussoin added a commit that referenced this pull request Nov 12, 2019
Use pre-wrap instead of pre to wrap long lines
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