r41722 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41721‎ | r41722 | r41723 >
Date:03:37, 6 October 2008
Author:tstarling
Status:old
Tags:
Comment:
Minor tweak for IE.
Modified paths:
  • /trunk/extensions/ImageMap/ImageMap_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ImageMap/ImageMap_body.php
@@ -284,6 +284,8 @@
285285 }
286286 if ( $descType == self::TOP_LEFT || $descType == self::TOP_RIGHT ) {
287287 $marginTop = -$thumbHeight;
 288+ // 1px hack for IE, to stop it poking out the top
 289+ $marginTop += 1;
288290 } else {
289291 $marginTop = -20;
290292 }

Status & tagging log