Some form fields get extremely long after update from 1.5 to 1.6 and 1.7. See attached screenshot. I have disabled the "local.css".

Files: 
CommentFileSizeAuthor
form-length1.gif28.47 KBBoletus

Comments

jwolf’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I'm gonna need a bit more info from you before I can consider this a bug.

- Can you provide a link to your site where this is happening so that we can see what's going on?
- What browser(s) is this happening in?
- What was used to create the fields? What fields are they?
- Is this only happening in one layout or all layouts?

The more information that you provide the more likely we can help.

Boletus’s picture

No I cannot provide a link I am afraid, the site is under construction and I don't want any traffic.
I happens in IE7
Moxilla Firefox, latest
Google Chrome, latest

As you see on the screen dump, it happens both in a block search form (to the right) and in an page edit form field.

Have any form lengths been set to percent values lately?

jwolf’s picture

- What was used to create the fields? What fields are they?
- Is this only happening in one layout or all layouts?

Boletus’s picture

/* prevents fields from overflowing into sidebar-last */
body.layout-main-last input.form-text {
width: 450px;
}

This code makes every form field to become 450px. Since I have form fields in block in the sidebar-last is doesn't work.

In CCK I have created form pairs for URL: [ Link text ] [ URL ].
Both these forms get a length of 450 px, and overlap.

I changed the culprit code to 95% in my local.css instead. Works for me.

/* prevents fields from overflowing into sidebar-last */
body.layout-main-last input.form-text {
width: 95%;
}
:) Cheers!

Boletus’s picture

Actually length: 90% didn't solve anything.

The code
/* prevents fields from overflowing into sidebar-last */
body.layout-main-last input.form-text {
width: 450px;
}
addresses to much. Can't you make it more specific? I commented it out from style.css and now form fields have gone back to being of different lengths.

eternalistic’s picture

Status: Postponed (maintainer needs more info) » Postponed
Issue tags: +fixed in fusion
stephthegeek’s picture

Version: 6.x-1.7 » 6.x-2.x-dev
Assigned: Unassigned » eternalistic
Status: Postponed » Active

Is this still happening in 2.x? Should be a max-width rather than width...

eternalistic’s picture

Changed to "max-width" rather than "width" and that seems to fix it. Below is the full CSS for it:

body.layout-main-last input.form-text {
  max-width: 450px;
}

Please give this change a try and make sure it works correctly on your site as well. If all is good this will be in the next release of the theme.

eternalistic’s picture

Status: Active » Fixed

Marking as fixed.

Status: Fixed » Closed (fixed)
Issue tags: -fixed in fusion

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