r64380 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64379‎ | r64380 | r64381 >
Date:08:19, 30 March 2010
Author:werdna
Status:deferred
Tags:
Comment:
Revert r64332, fix properly with table-layout CSS property
Modified paths:
  • /trunk/extensions/LiquidThreads/lqt.css (modified) (history)
  • /trunk/extensions/LiquidThreads/lqt.js (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/lqt.css
@@ -94,12 +94,15 @@
9595 padding: 0.5em !important;
9696 background-color: #eeeeee;
9797 border: solid 1pt #66aaff;
 98+ display: table;
9899 }
99100
100101 .lqt_post_new_message {
101102 padding: 0.5em !important;
102103 background-color: #eeeeee !important;
103104 border: solid 1pt #66aaff;
 105+ display: table;
 106+ width: auto;
104107 }
105108
106109 .lqt_history_info {
@@ -469,13 +472,6 @@
470473 font-weight: bold !important;
471474 }
472475
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+ */
 476+.lqt-new-messages {
 477+ table-layout: fixed;
482478 }
Index: trunk/extensions/LiquidThreads/lqt.js
@@ -890,7 +890,9 @@
891891
892892 var newThread = $j(html);
893893
894 - if ( $j('.lqt_toc').length ) {
 894+ if ( $j('.TalkpagePager_nav').length ) {
 895+ $j('.TalkpagePager_nav').after(newThread);
 896+ } else if ( $j('.lqt_toc').length ) {
895897 $j('.lqt_toc').after(newThread);
896898 } else {
897899 $j('.lqt-no-threads').replaceWith( newThread );

Follow-up revisions

RevisionCommit summaryAuthorDate
r64381Partial revert of r64380werdna08:40, 30 March 2010
r64383Resolve newmessages width issues (r64380 lqt.css)werdna09:18, 30 March 2010
r64384Resolve newmessages width issues (r64380 lqt.css)werdna09:20, 30 March 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64332LiquidThreads: Fix issue with <pre>s causing odd scrolling behaviour on Speci...werdna11:53, 29 March 2010

Status & tagging log