Index: lams_tool_preview/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag =================================================================== diff -u -r152642ba22a463e187e33abefc6b82258e249cf8 -r8df24b2c5ee2ea9106cfe421943ad62fbfb46df6 --- lams_tool_preview/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag (.../AuthoringRatingAllStyleCriteria.tag) (revision 152642ba22a463e187e33abefc6b82258e249cf8) +++ lams_tool_preview/web/WEB-INF/tags/AuthoringRatingAllStyleCriteria.tag (.../AuthoringRatingAllStyleCriteria.tag) (revision 8df24b2c5ee2ea9106cfe421943ad62fbfb46df6) @@ -113,6 +113,7 @@ #criterias-table-body .rubrics-table .rubrics-columns-part td { padding: 0 3px 20px 3px; text-align: right; + vertical-align: top; } #criterias-table-body .rubrics-table .rubrics-rows-part th { @@ -122,6 +123,7 @@ #criterias-table-body .rubrics-table .rubrics-row td { padding: 10px 3px 0 3px; + vertical-align: top; } #criterias-table-body .rubrics-table .rubrics-row-title { @@ -426,7 +428,12 @@ html: '
:
' + criteriaArrows + '
' }).attr('colspan', '3').appendTo(row); - var rubricsTable = $("").addClass('table-striped table-condensed rubrics-table').attr('groupId', groupId).appendTo(cell), + var rubricsTable = $("
").addClass('table-striped table-condensed rubrics-table').attr('groupId', groupId).appendTo(cell) + .on('mouseup', 'textarea', function(){ + // there is no "resize" event for textarea, so we use mouseup to keep all boxes in the row the same height + var height = $(this).height(); + $(this).closest('tr').find('textarea').height(height); + }), addColumnButton = $('