From c356f48de0b945cdf05fb988ecd43813e5eb1524 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 13 Jul 2011 20:45:57 +0000 Subject: [PATCH] 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 --- www/common/planet.css | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; } -- 2.39.2