Move image TOC into content area; a float tends to overlap and crunch in
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 30 Apr 2005 02:52:52 +0000 (02:52 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 30 Apr 2005 02:52:52 +0000 (02:52 +0000)
ugly ways when the title is long or the window is small.
The markup of the toc itself is still a bit odd (table, may conflict with
wiki toc if the description includes one).

includes/ImagePage.php
skins/monobook/main.css

index 6cd7b27..e4747a3 100644 (file)
@@ -61,7 +61,7 @@ class ImagePage extends Article {
                $r .= '<a href="#imghistory">' . wfMsg( 'imghistory' ) . '</a href> - ';
                $r .= '<a href="#imagelinks">' . wfMsg( 'imagelinks' ) . '</a href>';
                if ( $wgShowEXIF ) {
-                       $r .= ' - <a href="#showexif">' . wfMsg( 'exifdata' ) . '</a>';
+                       $r .= ' - <a href="#exifdata">' . wfMsg( 'exifdata' ) . '</a>';
                }
 
                        
index ef7b370..66c645a 100644 (file)
@@ -1144,7 +1144,6 @@ table.exif td.spacer {
        text-indent: -2em;
 }
 
-div.imagepagetoc {
-       float: right;
-       margin-top: -4em;
+div.imagepagetoc table {
+       margin-bottom: 1em;
 }