From 9e8067ca4bb9e0d21a397f681fce376e9b28ef92 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Tue, 26 Oct 2010 15:48:33 -0700 Subject: Bug 551468: Stop word-wrapping comments on the server r=glob, a=mkanat --- skins/standard/IE-fixes.css | 2 +- skins/standard/attachment.css | 3 --- skins/standard/global.css | 5 ++--- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'skins') 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 */ -.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. */ -- cgit v1.2.3-24-g4f1b