Date elements in Views exposed forms have a bunch of margin added to and minimum width imposed on them, resulting in strange positioning like that depicted in the attachment. I find myself overriding it all on every site I do. Can anyone enlighten me as to its purpose? Can it be removed?

date.css line 24:

.container-inline-date .form-item input,
.container-inline-date .form-item select,
.container-inline-date .form-item option {
  margin-right: 5px; /* LTR */
}

date.css line 86:

.date-views-filter-wrapper {
  min-width:250px;
}

CommentFileSizeAuthor
date-widgets-2.gif3.3 KBtraviscarden

Comments

patcon’s picture

Agreed. If you're only showing something like a year select list, the min-width property makes the formatting all wonky. What's the purpose?

traviscarden’s picture

Title: Why all the margin/min-width on Views exposed forms date elements? » Remove unnecessary margin/min-width on Views exposed forms date elements
Component: Code » User interface
Category: support » feature
traviscarden’s picture

Issue summary: View changes

Updated issue summary.

damienmckenna’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Unfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.