r64332 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64331‎ | r64332 | r64333 >
Date:11:53, 29 March 2010
Author:werdna
Status:deferred
Tags:
Comment:
LiquidThreads: Fix issue with <pre>s causing odd scrolling behaviour on Special:NewMessages
Modified paths:
  • /trunk/extensions/LiquidThreads/lqt.css (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/lqt.css
@@ -94,15 +94,12 @@
9595 padding: 0.5em !important;
9696 background-color: #eeeeee;
9797 border: solid 1pt #66aaff;
98 - display: table;
9998 }
10099
101100 .lqt_post_new_message {
102101 padding: 0.5em !important;
103102 background-color: #eeeeee !important;
104103 border: solid 1pt #66aaff;
105 - display: table;
106 - width: auto;
107104 }
108105
109106 .lqt_history_info {
@@ -471,3 +468,14 @@
472469 color: #3333ff !important;
473470 font-weight: bold !important;
474471 }
 472+
 473+/* Fix for <pre> wrapping */
 474+.lqt-new-messages pre {
 475+ overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
 476+ white-space: pre-wrap; /* css-3 */
 477+ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
 478+ white-space: -pre-wrap; /* Opera 4-6 */
 479+ white-space: -o-pre-wrap; /* Opera 7 */
 480+ /* width: 99%; */
 481+ word-wrap: break-word; /* Internet Explorer 5.5+ */
 482+}

Follow-up revisions

RevisionCommit summaryAuthorDate
r64380Revert r64332, fix properly with table-layout CSS propertywerdna08:19, 30 March 2010

Status & tagging log