Posted by joachim on March 13, 2012 at 5:29pm
3 followers
| Project: | Webform |
| Version: | 6.x-3.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I assume this is due to the resizable JS that gets applied to the textarea forcing 100% width on it.
Simplest thing maybe to drop this setting?
Comments
#1
I'm assuming you meant "textarea width has no effect"?
There is a note in the description text saying that it won't have an effect if your CSS sets a width on it. Not all sites have this CSS in place though, so I think it's important to keep it as an option.
#2
Sorry, yes width.
It's actually set in system.css:
html.js .resizable-textarea textarea {display: block;
margin-bottom: 0;
width: 100%;
}
so most themes are going to find a problem with that...
The warning isn't there on 6.x-3.15 -- any chance of a backport?
#3
Ah, the warning is actually in Form Builder, not in Webform so I didn't see it right away. Updated with the following description. "This property might not have a visual impact depending on the CSS of your site."
Committed attached patch, which also fixes #1480730: textarea height UI text needs to specify units.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.