While using the Admin module, I noticed that any Date Popup field renders with odd padding and margins. I narrowed it down to a missing 'form-item' class. Adding this additional class to the wrapper div solves the problem. It should improve the appearance of the Date Popup field within any theme that makes use of form-item as a container.

I've attached a screenshot for reference, as well as a patch.

CommentFileSizeAuthor
#1 date_popup_form-item.patch513 bytesrupl
#1 date_popup_form-item.png9.25 KBrupl

Comments

rupl’s picture

StatusFileSize
new9.25 KB
new513 bytes

Here's the screenshot and patch

karens’s picture

Status: Needs review » Fixed

Committed, thanks :)

Status: Fixed » Closed (fixed)

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