Closed (fixed)
Project:
Gratis
Version:
7.x-1.0-alpha9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
8 Aug 2013 at 18:22 UTC
Updated:
17 Sep 2013 at 13:43 UTC
Jump to comment: Most recent file
I activated this theme in a fresh Drupal installation.
All listbox created with Webform are not completely visible (see screenshot). I tried in Firefox 23 and Chromium 28.0.1500.71 with the same result.
To fix the problem I increase the height property in form.css, lines 64-88:
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
color: #555;
display: inline-block;
font-size: 14px;
height: 30px;
line-height: 20px;
margin-bottom: 4px;
padding: 4px 6px;
vertical-align: middle;
}
Hope this helps,
Max
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | form-elements.png | 20.31 KB | danny englander |
| listbox.png | 1.23 KB | massiws |
Comments
Comment #1
danny englanderHi Can you clarify what you are defining as a "listbox" in webform? What actual form element does that render? I don't see anything in webform called "listbox".
In addition, I have a page of form elements in the demo and they all seem fine to me:
http://gratis.themehuis.com/basic-page/form-elements
Have you altered any other CSS?
Comment #2
massiws commentedSorry for my terminology!
As you can see in image attached above (and to reproduce the error):
EDIT:
there is also a problem with rendering of the label for the object above: the label of the select-option have always a class element-invisible, so they are always hidden, even if you change settings to inline or above.
You can see an example here.
Comment #3
massiws commentedThe problem with label display reported above is not related to gratis theme.
It's a Webform issue (see here).
Comment #4
danny englanderThis is most likely an issue with the "Select (or other)" module and not webform as the original reporter suggested and where it was reported. Referencing this for future searching and closing. Please read the update to the issue below.
#1966458: Ticking "Other" option in select list causes label to disappear
Comment #5
massiws commentedIn your demo page I can see this code on the dropdown box:
On my pages created with Webform the code above isn't applied, so the dropdown element are rendered as my attached screenshot (see here an example).
To fix the problem I need to edit form.css like explained Issue Summary, or, alternatively, adding this:
I haven't altered any other css.
Hope this make sense.
Comment #6
danny englanderComment #7
danny englanderI was able to reproduce this issue in Firefox. There's now a fix with https://drupal.org/node/2080473. Thanks for the suggestion!