LEARNER-3935 Style updates

This commit is contained in:
AlasdairSwan
2018-01-23 11:27:29 -05:00
parent a54b6d2dda
commit 77d254dcad
2 changed files with 13 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ class GradeTable extends React.Component {
);
});
return <tbody className="type-group" key={groupIndex}>{rows}</tbody>;
return rows.length ? <tbody className="type-group" key={groupIndex}>{rows}</tbody> : false;
}
render() {
@@ -60,7 +60,7 @@ class GradeTable extends React.Component {
{assignmentTypes.map((type, index) => this.getTableGroup(type, index))}
<tfoot>
<tr className="totals">
<td>Totals</td>
<td className="footer-label">Total</td>
<td>{passingGrade}%</td>
<td>*{percentGrade}%</td>
</tr>