diff --git a/gridforms/gridforms.js b/gridforms/gridforms.js index fb9afeb..5d4f69a 100644 --- a/gridforms/gridforms.js +++ b/gridforms/gridforms.js @@ -72,6 +72,11 @@ $(function() { // Get the height of the row (thus the tallest element's height) var fieldRow = $(this); var rowHeight = fieldRow.css('height'); + + // Singleton textarea rows should determine their row height + var rowInputs = fieldRow.children(); + var textAreas = rowInputs.children("textarea"); + if (rowInputs.length === 1 && textAreas.length === 1) return; // Set the height for each field in the row... fieldRow.find(fieldsContainers).css('height', rowHeight);