In theme_date_combo(), the fieldset's title is generated as follows:

'#title' => field_filter_xss(t($element['#title'])) . ' ' . ($element['#delta'] > 0 ? intval($element['#delta'] + 1) : ''),

When #delta is 0, the space after the title is unnecessary. The problem with this is that the fieldset title will not be empty even if $element['#title'] is empty. As a result, a seemingly empty <legend> tag will be rendered in the fieldset theme, which may produce an undesirable look.
I'm attaching a patch to address this.

CommentFileSizeAuthor
#2 extra_space_in_data_combo-2377623-2.patch682 bytesglekli
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

glekli’s picture

Issue summary: View changes
glekli’s picture

Status: Active » Needs review
FileSize
682 bytes
qzmenko’s picture

Status: Needs review » Reviewed & tested by the community

I confirm the problem. The patch helped me. Thanks.

vijaycs85’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.