r81532 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81531‎ | r81532 | r81533 >
Date:17:39, 4 February 2011
Author:questpc
Status:deferred
Tags:
Comment:
CSS fix for IE7
Modified paths:
  • /trunk/extensions/QPoll/qp_user.css (modified) (history)
  • /trunk/extensions/QPoll/qp_user.php (modified) (history)

Diff [purge]

Index: trunk/extensions/QPoll/qp_user.php
@@ -682,7 +682,7 @@
683683 0=>array( '__tag'=>'div', '__end'=>"\n", 'class'=>'header',
684684 0=>array( '__tag'=>'span', 'class'=>'questionId', 0=>$question->mQuestionId )
685685 ),
686 - 1=>$this->parser->recursiveTagParse( $question->mCommonQuestion . "\n", $this->ppframe )
 686+ 1=>array( '__tag'=>'div', 0=>$this->parser->recursiveTagParse( $question->mCommonQuestion, $this->ppframe ) )
687687 );
688688 $tags[] = &$output_table;
689689 return qp_Renderer::renderHTMLobject( $tags );
@@ -1061,7 +1061,7 @@
10621062 0=>array( '__tag'=>'div', '__end'=>"\n", 'class'=>'header',
10631063 0=>array( '__tag'=>'span', 'class'=>'questionId', 0=>$question->mQuestionId )
10641064 ),
1065 - 1=>$this->parser->recursiveTagParse( $question->mCommonQuestion . "\n", $this->ppframe )
 1065+ 1=>array( '__tag'=>'div', 0=>$this->parser->recursiveTagParse( $question->mCommonQuestion, $this->ppframe ) )
10661066 );
10671067 $tags[] = &$output_table;
10681068 return qp_Renderer::renderHTMLobject( $tags );
Index: trunk/extensions/QPoll/qp_user.css
@@ -37,5 +37,6 @@
3838 .qpoll .question { margin-left:2em; }
3939 .qpoll .margin { padding-left:20px; }
4040 .qpoll .header .questionId { font-size: 1.1em; font-weight: bold; float: left; }
 41+.qpoll .header .questionId { *padding-right: 0.5em; } /* applies to IE7 and below */
4142 .qpoll a.input em { color:black; background-color:#DFDFDF; margin-right:1px; }
4243 .qpoll a.input input { padding-left:2px; border:0; }

Status & tagging log