Extra vertical space appears between the input and label for a Date Text Field widget versus normal CCK Text Fields. Because of this, putting a Date Text Field next to a normal CCK Text Field looks unclean.

I see this problem after creating a Date Text Field with strtotime validation using the default options.

Comments

threexk’s picture

Version: 5.x-2.0-rc » 5.x-2.5
threexk’s picture

For what it's worth, I was able to fix this by adding the following surely-bad CSS:

.clear-block div.form-item-wrapper .date-clear-block .form-item .date-part .form-item {
  margin-top: 0;
  margin-bottom: 0;
}

Now I'm wondering if this is actually a Date issue, or just a conflict with other CSS on my site. I'll test on a stock Drupal site later.

karens’s picture

Status: Active » Fixed

This is probably too site-specific to add to the module, and other people already are relying on the current css. Since you can fix it yourself in css, that's the best solution.

Status: Fixed » Closed (fixed)

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