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.
Text area has no width limit in style.css. That causes scaling problems when using webforms as blocks or pages.
Current code:
.form-textarea-wrapper textarea {
border-radius: 3px;
border: 1px solid #acacac;
}
.form-text {
border-radius: 3px;
border: 1px solid #acacac;
padding: 4px 5px;
}
Must be:
.form-textarea-wrapper textarea {
border-radius: 3px;
border: 1px solid #acacac;
max-width:100%;
}
.form-text {
border-radius: 3px;
border: 1px solid #acacac;
padding: 4px 5px;
max-width:95%; /* text-fields to fit borders */
}
Comment | File | Size | Author |
---|---|---|---|
screen01.jpg | 123.27 KB | multiplextor |
Comments
Comment #1
multiplextor CreditAttribution: multiplextor commented