From ba340432f7cbfca224851ca53d8639362b1ffaba Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Tue, 21 Jul 2009 22:44:16 +0000 Subject: [PATCH] Solves bug #19567 by applying the bottom margin to the child p or div tag, making it possible to have the #siteNotice div always present and the notice content hidden, without adding the extra space. --- skins/vector/main-ltr.css | 4 +++- skins/vector/main-rtl.css | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index d59c286f76..0f9d79ac3a 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -843,11 +843,13 @@ img.thumbborder { #siteNotice { text-align: center; font-size: 95%; - margin-bottom: 0.9em; + margin: 0; } + #siteNotice div, #siteNotice p { margin: 0; padding: 0; + margin-bottom: 0.9em; } /* Categories */ .catlinks { diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index 93cf47a317..5307406d98 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -843,11 +843,13 @@ img.thumbborder { #siteNotice { text-align: center; font-size: 95%; - margin-bottom: 0.9em; + margin: 0; } + #siteNotice div, #siteNotice p { margin: 0; padding: 0; + margin-bottom: 0.9em; } /* Categories */ .catlinks { -- 2.20.1