Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Found with: firefox 2.0.0.15
Date field widget: text field, no jquery date selector
In the add/edit form the text field following the date field is partly covering the input field. This is due to a float on .container-inline-date .form-item
Temporarily fixed this by adding a display: table to .container-inline-date But better solutions may be available.
.container-inline-date {
clear:both;
width:auto;
display:table;
}
Comment | File | Size | Author |
---|---|---|---|
after the fix | 9.68 KB | Sutharsan | |
before the fix | 8.05 KB | Sutharsan |
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedThis comes from a recent feature request to float the dates so that the from and to dates will float next to each other if there's room. So now we have more floating than we really want. This fix would more or less take things back to the original state -- the dates never float. I have to think about whether there's a way to fix the 'wrong' floats and leave the 'right' ones alone.
Comment #2
KarenS CreditAttribution: KarenS commentedI committed a fix that I hope will work by introducing a default behavior of not floating with an option to let them float that is only used when there are two dates together.
Comment #3
Grantovich CreditAttribution: Grantovich commentedIf the intention of this fix was to keep the input fields all on one line (as it was in RC2), I don't think it worked. Using the latest release in Firefox, Safari, and Opera, my date inputs are now stacked on top of each other, like this:
From date:
[date input]
[time input]
To date:
[date input]
[time input]
Comment #4
KarenS CreditAttribution: KarenS commentedFound the mistake that kept the date parts from floating together. It need a small change in the css to change .date-clear-block .form-item to just .date-clear-block.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.