Skip to content

Commit

Permalink
SAK-31245 : Long instructor comments from Assignments don't display w…
Browse files Browse the repository at this point in the history
…ell in student Gradebook view (sakaiproject#4237)
  • Loading branch information
frasese authored and ern committed Apr 19, 2017
1 parent 90c630c commit c74ba6b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion gradebook/app/ui/src/webapp/css/gradebook.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,12 @@ td.gbMessageAbove {vertical-align:top;}
td.gbMessageAboveNumber {vertical-align:top; text-align:right; padding-right:2em !important;}

/* Offset to better match icon and input heights. */
.gbTextOnRow {margin-top:2px;}
.gbTextOnRow {
margin-top: 2px;
max-height: 100px;
overflow-x: hidden;
overflow-y: scroll;
}

/* Try to make the standard message formatting work with other cell content. */
.gbMessageAdjustForContent {margin-left:1px; margin-bottom:.5em;}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</td>
<td wicket:id="weight"><!-- empty --></td>
<td class="gb-summary-grade-duedate" wicket:id="dueDate"></td>
<td class="gb-summary-grade-comments" wicket:id="comments"></td>
<td class="gb-summary-grade-comments"><div wicket:id="comments"></div></td>
<td class="gb-summary-grade-category" wicket:id="category"></td>
</tr>
</tbody>
Expand Down
7 changes: 7 additions & 0 deletions gradebookng/tool/src/webapp/styles/gradebook-grades.css
Original file line number Diff line number Diff line change
Expand Up @@ -1188,3 +1188,10 @@ and (max-device-width : 736px) {
font-family: "gradebook-icons";
content: "\f071";
}

/* GradeSummayTablePanel - comments column */
.gb-summary-grade-comments div{
overflow-y: scroll;
overflow-x: hidden;
max-height:100px;
}

0 comments on commit c74ba6b

Please sign in to comment.