From 7a2514e789126279fb3b6964b887cdffb8c5673f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 17 Nov 2003 19:24:39 +0000 Subject: [PATCH] - Small improvement to the default style emitted by theme_form_element(). --- includes/theme.inc | 2 +- misc/drupal.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/theme.inc b/includes/theme.inc index 6dfff30bd3cc..46274ba8d127 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -156,7 +156,7 @@ function _theme_table_cell($cell, $header = 0) { **/ function theme_form_element($title, $value, $description = 0) { - return "
". ($title ? "" : "") . $value . ($description ? "
$description
" : "") ."
\n"; + return "
". ($title ? "
" : "") . $value . ($description ? "
$description
" : "") ."
\n"; } /** diff --git a/misc/drupal.css b/misc/drupal.css index 06f2b8584a98..4c478e5beedc 100644 --- a/misc/drupal.css +++ b/misc/drupal.css @@ -110,13 +110,14 @@ fieldset { .container-inline .form-submit { margin: 0; } +.form-item { + margin-bottom: 1em; +} .form-item .description { font-size: 0.85em; } .form-item label { font-weight: bold; - margin-top: 1.1em; - margin-bottom: 1px; } .form-submit { margin: 0.5em 0;