aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2025-03-03 20:49:03 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2025-03-03 20:49:03 +0000
commitf141346a30b421370b5d7ff0202e41b59c5eadbe (patch)
tree5d3e5a5620db8cb61cc27d6a5dd5556854799248
parenta5e7e1dbcb55ef2d802050fdc6f5fcbe933206fa (diff)
parent2fde2ca7dee5b87c0454d0fe1fdb0f76ab64ae95 (diff)
downloadmediawikicore-f141346a30b421370b5d7ff0202e41b59c5eadbe.tar.gz
mediawikicore-f141346a30b421370b5d7ff0202e41b59c5eadbe.zip
Merge "CodexHTMLForm: Add specific CSS class to fieldset"
-rw-r--r--includes/htmlform/CodexHTMLForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/htmlform/CodexHTMLForm.php b/includes/htmlform/CodexHTMLForm.php
index fd0e9337896f..de28be0e23ff 100644
--- a/includes/htmlform/CodexHTMLForm.php
+++ b/includes/htmlform/CodexHTMLForm.php
@@ -72,7 +72,7 @@ class CodexHTMLForm extends HTMLForm {
}
protected function wrapFieldSetSection( $legend, $section, $attributes, $isRoot ) {
- $attributes['class'] = 'cdx-field';
+ $attributes['class'] = 'cdx-field cdx-field--is-fieldset';
$legendElement = Html::rawElement( 'legend', [ 'class' => [ 'cdx-label' ] ], $legend );
return Html::rawElement( 'fieldset', $attributes, "$legendElement\n$section" ) . "\n";
}