Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#35649 - {archweb} no linebreak in codeblocks

Attached to Project: Arch Linux
Opened by Frank Uebbing (quiqueck) - Tuesday, 04 June 2013, 20:41 GMT
Last edited by Dan McGee (toofishes) - Monday, 27 January 2014, 19:19 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



as i am reading the upgrade news on i saw that commands are sometimes longer as the appropriate Box. So commands came out in to the Linklist on the right and arent completly readable.

See the topic for a possibly resolution and a Screenshot, wich user Xyne has published.

This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 27 January 2014, 19:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in git, will push next release.
Comment by Sid Karunaratne (sakaru) - Tuesday, 04 June 2013, 21:58 GMT
Just so that everything is in one place; the suggested fix is to add "white-space: normal;" either to the <pre> tags or, perhaps more correctly, the <code> tags.
Comment by Frank Uebbing (quiqueck) - Tuesday, 04 June 2013, 22:17 GMT
There is only one css-file with a section like:

pre code{display:block;background:none}

here you can add the line:

pre code{display:block;background:none; white-space:normal;}

But, as Xyne suggests, maybe a scrollbar is a possibilty too.
Comment by Dan McGee (toofishes) - Monday, 10 June 2013, 16:46 GMT
Patches welcome, code and CSS is here:
Comment by Sid Karunaratne (sakaru) - Monday, 10 June 2013, 23:21 GMT
I tried both the multiline and the scrollbar option; I personally prefer the scrollbar one. I've attached a patch which add scrollbars if needed.

Tested on latest firefox and chromium, not on any mobile browsers.