diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-26 15:48:33 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-26 15:48:33 -0700 |
commit | 9e8067ca4bb9e0d21a397f681fce376e9b28ef92 (patch) | |
tree | 1fa4f58ac0a732fa46d4991644b9ed8d66349ef2 /skins/standard | |
parent | f2a3931c5f955bc2b26d3a6ee6e3fb55f6a27ee4 (diff) | |
download | bugs-9e8067ca4bb9e0d21a397f681fce376e9b28ef92.tar bugs-9e8067ca4bb9e0d21a397f681fce376e9b28ef92.tar.gz bugs-9e8067ca4bb9e0d21a397f681fce376e9b28ef92.tar.bz2 bugs-9e8067ca4bb9e0d21a397f681fce376e9b28ef92.tar.xz bugs-9e8067ca4bb9e0d21a397f681fce376e9b28ef92.zip |
Bug 551468: Stop word-wrapping comments on the server
r=glob, a=mkanat
Diffstat (limited to 'skins/standard')
-rw-r--r-- | skins/standard/IE-fixes.css | 2 | ||||
-rw-r--r-- | skins/standard/attachment.css | 3 | ||||
-rw-r--r-- | skins/standard/global.css | 5 |
3 files changed, 3 insertions, 7 deletions
diff --git a/skins/standard/IE-fixes.css b/skins/standard/IE-fixes.css index fc2225398..9a7856aba 100644 --- a/skins/standard/IE-fixes.css +++ b/skins/standard/IE-fixes.css @@ -13,7 +13,7 @@ * Contributor(s): Marc Schumann <wurblzap@gmail.com> */ -.bz_comment_text, .uneditable_textarea { +.bz_comment_text, .uneditable_textarea, tbody.file pre { white-space: pre; word-wrap: break-word; } diff --git a/skins/standard/attachment.css b/skins/standard/attachment.css index c05cfe2da..b42b2224c 100644 --- a/skins/standard/attachment.css +++ b/skins/standard/attachment.css @@ -73,9 +73,6 @@ table.file_table { tbody.file pre { display: inline; - white-space: pre-wrap; /* CSS 3 & CSS 2.1 */ - white-space: -moz-pre-wrap; /* Gecko < 1.9.1 */ - white-space: -o-pre-wrap; /* Opera 7 */ font-size: 0.9em; } diff --git a/skins/standard/global.css b/skins/standard/global.css index db874de29..0deb4b94a 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -293,9 +293,8 @@ div#docslinks { margin-bottom: 2em; } -/* The rules for these classes make international text wrap correctly, - even for languages like Japanese that have no spaces. */ -.bz_comment_text, .uneditable_textarea { +/* tbody.file pre is for the Diff view of attachments. */ +.bz_comment_text, .uneditable_textarea, tbody.file pre { font-family: monospace; /* Note that these must all be on separate lines or they stop working in Konqueror. */ |