Commit d2ace64a authored by Dries's avatar Dries
Browse files

Issue #1623574 by droplet, thund3rbox, sun, stevecowie: Remove trailing space...

Issue #1623574 by droplet, thund3rbox, sun, stevecowie: Remove trailing space from form element labels and field labels (HTML nbsp).
parent 908f21ce
......@@ -23,7 +23,7 @@ Drupal.behaviors.blockSettingsSummary = {
if (!vals.length) {
vals.push(Drupal.t('Not restricted'));
}
return $.map(vals, $.trim).join(', ');
return vals.join(', ');
}
$('#edit-visibility-node-type').drupalSetSummary(checkboxesSummary);
......
......@@ -1257,7 +1257,7 @@ function theme_field($variables) {
// Render the label, if it's not hidden.
if (!$variables['label_hidden']) {
$output .= '<div class="field-label"' . $variables['title_attributes'] . '>' . $variables['label'] . ':&nbsp;</div>';
$output .= '<div class="field-label"' . $variables['title_attributes'] . '>' . $variables['label'] . '</div>';
}
// Render the items.
......
......@@ -9,6 +9,9 @@
}
/* Form display */
form .field-edit-link {
margin: 0 0.3em;
}
form .field-multiple-table {
margin: 0;
}
......
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