From: joerg Date: Wed, 13 Jul 2011 20:45:57 +0000 (+0000) Subject: add patch from pabs to make pre stuff wrap X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=c356f48de0b945cdf05fb988ecd43813e5eb1524;p=deb%2Fhackedgotchi.git add patch from pabs to make pre stuff wrap git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@1459 c2f067bf-98e0-425f-9c98-e76020cfa380 --- diff --git a/www/common/planet.css b/www/common/planet.css index 02e4fab..6c0d5f5 100644 --- a/www/common/planet.css +++ b/www/common/planet.css @@ -114,3 +114,14 @@ table > td:fist-child { #outer { margin-left: 10px; } + +/* Make pre's wrap to the window */ +pre { white-space: normal ! important; } +pre { white-space: -moz-pre-wrap ! important; } +pre { white-space: pre-wrap ! important; } +code { white-space: normal ! important; } +code { white-space: -moz-pre-wrap ! important; } +code { white-space: pre-wrap ! important; } +tt { white-space: normal ! important; } +tt { white-space: -moz-pre-wrap ! important; } +tt { white-space: pre-wrap ! important; }