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
Line wrapping in code blocks #51
Comments
I basically ported all of the GistLog styling from my personal blog, and the stuff doesn't wrap there but does wrap here :/ http://adamwathan.me/2013/10/02/putting-your-laravel-controllers-on-a-diet https://gistlog.co/adamwathan/5091f790a7117dbe7f2b I scoured the CSS and feel pretty stupid because I can't for the life of me find the necessary combination of changes to get that to stop wrapping and start scrolling! Bah. |
Try word-wrap: normal;
white-space: pre; on the code |
Man no idea how I missed that one, thanks @raine! PR is open now pending @mattstauffer's merge. |
Don't wrap code blocks, resolves #51
https://gistlog.co/raine/d12d0ec3e72b2945510b
It's better to scroll horizontally than wrap lines of code unpredictably.
The text was updated successfully, but these errors were encountered: