Commit f4d319c3 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Adjusting the resizable textarea to have max-width (Bug #1434922)"

parents d861f709 458cac73
......@@ -90,7 +90,7 @@ function PieformTextarea(element, fullwidth) {//{{{
// Set wrapper and textarea dimensions
setElementDimensions(this.wrapper, {'h': this.dimensions.h + this.grippie.dimensions.h + 1});
if (!fullwidth) {
setElementDimensions(this.wrapper, {'w': this.dimensions.w});
jQuery(this.wrapper).css("max-width", this.dimensions.w + "px");
}
setStyle(this.element, {
'margin-bottom': '0',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment