Commit 68f54fc3 authored by yched's avatar yched

(can' seem to find the issue #) add empty space after field labels on node display

parent 050f29e6
......@@ -997,7 +997,7 @@ function theme_field(&$node, &$field, &$items, $teaser, $page) {
$items_output .= '<div class="field-item">';
if ($label_display == 'inline') {
$items_output .= '<div class="field-label-inline'. ($delta ? '' : '-first') .'">';
$items_output .= $label .':</div> ' ;
$items_output .= $label .': </div> ' ;
}
$items_output .= $item['view'] .'</div>';
}
......@@ -1007,7 +1007,7 @@ function theme_field(&$node, &$field, &$items, $teaser, $page) {
if (!empty($items_output)) {
$output .= '<div class="field field-type-'. strtr($field['type'], '_', '-') .' field-'. strtr($field['field_name'], '_', '-') .'">';
if ($label_display == 'above') {
$output .= '<div class="field-label">'. $label .':</div>';
$output .= '<div class="field-label">'. $label .': </div>';
}
$output .= '<div class="field-items">'. $items_output .'</div>';
$output .= '</div>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment