From 566d70d81a91283ae6902815c8a14edd0c4429df Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 30 Apr 2005 02:52:52 +0000 Subject: [PATCH] Move image TOC into content area; a float tends to overlap and crunch in 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 | 2 +- skins/monobook/main.css | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 6cd7b27da6..e4747a3064 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -61,7 +61,7 @@ class ImagePage extends Article { $r .= '' . wfMsg( 'imghistory' ) . ' - '; $r .= '' . wfMsg( 'imagelinks' ) . ''; if ( $wgShowEXIF ) { - $r .= ' - ' . wfMsg( 'exifdata' ) . ''; + $r .= ' - ' . wfMsg( 'exifdata' ) . ''; } diff --git a/skins/monobook/main.css b/skins/monobook/main.css index ef7b37069d..66c645ac59 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1144,7 +1144,6 @@ table.exif td.spacer { text-indent: -2em; } -div.imagepagetoc { - float: right; - margin-top: -4em; +div.imagepagetoc table { + margin-bottom: 1em; } -- 2.20.1