Skip to content

Commit

Permalink
Stopped horizontal resize for textboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
LHousehold committed Sep 9, 2015
1 parent 92f82bc commit eabfe6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1 title="You're welcome">Central Email Builder</h1>
</div>
<div class="eleven columns textblock_div">
<input type="button" value="-" class="remove_textblock_button" onclick="remove_textblock()" title="Remove paragraph"/>
<textarea class="u-full-width textblock" placeholder="Paragraph"></textarea>
<textarea class="u-max-full-width u-full-width textblock" placeholder="Paragraph" title="Drag bottom right corner for resize"></textarea>
</div>
</div>
<div class="row textblock_row">
Expand All @@ -34,7 +34,7 @@ <h1 title="You're welcome">Central Email Builder</h1>
</div>
<div class="eleven columns textblock_div">
<input type="button" value="-" class="remove_textblock_button" onclick="remove_textblock()" title="Remove paragraph"/>
<textarea class="u-full-width textblock" placeholder="Paragraph"></textarea>
<textarea class="u-max-full-width u-full-width textblock" placeholder="Paragraph" title="Drag bottom right corner for resize"></textarea>
</div>
</div>
<div class="row textblock_row">
Expand All @@ -45,7 +45,7 @@ <h1 title="You're welcome">Central Email Builder</h1>
</div>
<div class="eleven columns textblock_div">
<input type="button" value="-" class="remove_textblock_button" onclick="remove_textblock()" title="Remove paragraph"/>
<textarea class="u-full-width textblock" placeholder="Paragraph"></textarea>
<textarea class="u-max-full-width u-full-width textblock" placeholder="Paragraph" title="Drag bottom right corner for resize"></textarea>
</div>
</div>
<div id="new_textblock"></div>
Expand Down
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function add_textblock() {

new_textblock = '<div class="row textblock_row"><div class="one column"><div class="checkbox_div" title="Uncheck to not include in email"><input type="checkbox" class="checkbox" checked="true"/>' +
'</div></div><div class="eleven columns textblock_div"><input type="button" value="-" class="remove_textblock_button" onclick="remove_textblock()" title="Remove paragraph"/>' +
'<textarea class="u-full-width textblock" placeholder="Paragraph"></textarea></div></div><div id="new_textblock"></div>';
'<textarea class="u-max-full-width u-full-width textblock" placeholder="Paragraph" title="Drag bottom right corner for resize"></textarea></div></div><div id="new_textblock"></div>';

placeholder.outerHTML = new_textblock;
}
Expand Down

0 comments on commit eabfe6e

Please sign in to comment.