Skip to content

Commit

Permalink
Fix marklogic-community#630 Don't include padding in the test result …
Browse files Browse the repository at this point in the history
…rows.

This makes the bottom padding of rows consistent with the top, left
and right padding. The additional bottom padding is due to the
test results row. This fix has the effect makes the running tests
border extend to the bottom of the row.
  • Loading branch information
reecedunn67 committed Jul 15, 2016
1 parent 7f625f8 commit b978e53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/test/css/tests.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ table td {
vertical-align: top;
}

table tr.tests td {
padding: 0;
}

tr.even {
background-color: #dfd;
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/default.xqy
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ declare function local:main() {
<td class="passed">-</td>
<td class="right failed">-</td>
</tr>,
<tr class="{$class}">
<tr class="{$class} tests">
<td colspan="6">
<div class="tests">
<div class="wrapper"><input class="check-all-tests" type="checkbox" checked="checked"/>Run All Tests</div>
Expand Down

0 comments on commit b978e53

Please sign in to comment.