diaspora/diaspora — pull request #2602 by judytuna (2012-01-09 03:23:39+00:00)
Title: fixed issue 1991 - giving long pre & code a scrollbar

https://github.com/diaspora/diaspora/issues/1991 - sporkbox says "The fix is simple. If a width for the element is already set in CSS, just add "overflow: auto" to its CSS attributes and it should bring up a scrollbar when it's too wide."

So I added ````overflow:auto;```` to the ````pre, code, tt```` element.

Not sure where the width for the element is set but I tested it in firebug, and adding ````overflow:auto```` there does add a scroll bar to the long ````code```` snippet in https://joindiaspora.com/posts/469005 .