This patch fixes displaying of flexinode date/time form fields. Without this patch the form is splited to multiple lines and each subfield (textboxes for day, year, hour, ...) is rendered as block (display:block) and has width of 95%.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | css-inline-patch.png | 27.76 KB | jjeff |
| #2 | css-inline.patch | 630 bytes | jjeff |
| drupal-css-inline-form.patch | 554 bytes | wentasah |
Comments
Comment #1
moshe weitzman commentedComment #2
jjeff commentedI was having a similar problem where form labels were imposing their block display even though they were in the container-inline element.
This patch targets both divs and labels so that labeled form elements will appear inline as well. It also moves the .container-inline declaration down to the bottom of the CSS so that it won't succeeded by the ".form-element label" declaration.
Comment #3
jjeff commentedHere's an illustration of inline form elements after this patch has been applied.
Comment #4
tangent commentedThis issue probably requires some discussion. I'm changing the priority though because it isn't really critical.
Comment #5
nickl commented.container-inline div is now defined in modules modules/system/system.css
.form-text is now defined in modules/node/node.css
The first patch suggests:
The second patch only changes:
Not sure if this is to be marked fixed but IMO this is not a bug.
Left Category and Status to be changed by next reviewer.
Comment #6
Steven commentedI merged the two patches. The fix is to have .container-inline nullify only the exact items which we change (node form text fields, non-option labels, ...).
Comment #7
(not verified) commented