Adding CSS class for nested <fieldset>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.
This commit is contained in:
parent
e4aa97a7a2
commit
5e90384cf3
3 changed files with 7 additions and 1 deletions
|
|
@ -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 <fieldset>s so fieldsets inside fieldsets get
|
||||
a slightly less huge margin and padding.
|
||||
|
||||
=== Bug fixes in 1.13 ===
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue