Jeremy Newman : force pre tags to wrap in various browsers, fixes issues with pre tags in wwn issues with long strings.
Module: website Branch: master Commit: 537cd7cf2277ea10b4e83287e98d0fb1b895d900 URL: http://source.winehq.org/git/website.git/?a=commit;h=537cd7cf2277ea10b4e8328... Author: Jeremy Newman <jnewman(a)codeweavers.com> Date: Mon Dec 3 12:29:27 2007 -0600 force pre tags to wrap in various browsers, fixes issues with pre tags in wwn issues with long strings. --- winehq_styles.css | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winehq_styles.css b/winehq_styles.css index 1f8241e..f9e024f 100644 --- a/winehq_styles.css +++ b/winehq_styles.css @@ -28,7 +28,12 @@ A.hidden { text-decoration: none; color: #000000; } OL,UL,P { font-size: 12px; } TD,TR,TH { font-size: 12px; } INPUT { font-size: 12px; } -PRE { font-family: monospace; font-size: 12px; } +PRE { + font-family: monospace; font-size: 12px; + white-space: pre-wrap; + white-space: -moz-pre-wrap !important; + word-wrap: break-word; + } /* Hn Sizes */ H1 { font-size: 180%; } @@ -147,4 +152,4 @@ p.indent { padding-left: 1em; padding-right: 1em;} /* App Support status */ .gold { background-color: wheat; } -.silver { background-color: silver; } \ No newline at end of file +.silver { background-color: silver; }
participants (1)
-
Jeremy Newman