From 5e90384cf320f76af30bc2e6be24b8807dd128a0 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 15 Apr 2008 20:44:10 +0000 Subject: [PATCH] Adding CSS class for nested
s. Nesting fieldsets used to cause a huge amount of whitespace between the parent and the child fieldset, this commit adds a class that circumvents this. --- RELEASE-NOTES | 2 ++ includes/DefaultSettings.php | 2 +- skins/monobook/main.css | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 373f1294f7..6aa1e70b6c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -75,6 +75,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 10457) Reorganize Special:Specialpages * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor to modify the output for edit conflicts. +* Add class="nested" for
s so fieldsets inside fieldsets get + a slightly less huge margin and padding. === Bug fixes in 1.13 === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 6486c99b00..b4b0fea25a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1336,7 +1336,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '134'; +$wgStyleVersion = '135'; # Server-side caching: diff --git a/skins/monobook/main.css b/skins/monobook/main.css index e46ea76789..03fb31aa41 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -177,6 +177,10 @@ fieldset { padding: 0 1em 1em; line-height: 1.5em; } +fieldset.nested { + margin: 0 0 0.5em 0; + padding: 0 0.5em 0.5em; +} legend { padding: .5em; font-size: 95%; -- 2.20.1