summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/form.inc1
-rw-r--r--modules/system/system.css7
2 files changed, 8 insertions, 0 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 3f0a117b1..686a88b69 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -943,6 +943,7 @@ function theme_radio($element) {
* A themed HTML string representing the radio button set.
*/
function theme_radios($element) {
+ $element['#children'] = '<div class="form-radios">'. $element['#children'] .'</div>';
if ($element['#title'] || $element['#description']) {
unset($element['#id']);
return theme('form_element', $element, $element['#children']);
diff --git a/modules/system/system.css b/modules/system/system.css
index 2632bcf04..f1a18ac3f 100644
--- a/modules/system/system.css
+++ b/modules/system/system.css
@@ -103,6 +103,13 @@ tr.merge-up, tr.merge-up td, tr.merge-up th {
display: inline;
font-weight: normal;
}
+.form-checkboxes, .form-radios {
+ margin: 1em 0;
+}
+.form-checkboxes .form-item, .form-radios .form-item {
+ margin-top: 0.4em;
+ margin-bottom: 0.4em;
+}
.marker, .form-required {
color: #f00;
}