Skip to content

Commit

Permalink
WebUI: force cell height when no results (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
hevrard authored Nov 27, 2018
1 parent ce30f40 commit a5b4356
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/main/java/com/graphicsfuzz/server/webui/WebUi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,7 @@ private void htmlComparativeTable(String shaderFamily, String[] workers)
"</a>\n");
}
} else {
htmlAppendLn("class='bound-cell-width center aligned'>No result");
htmlAppendLn("class='bound-cell-width force-cell-height center aligned'>No result yet");
}
htmlAppendLn("</td>");

Expand All @@ -2077,7 +2077,7 @@ private void htmlComparativeTable(String shaderFamily, String[] workers)

htmlVariantResultTableCell(infoFile, refPngPath, reductionStatus);
} else {
htmlAppendLn("<td class='bound-cell-width center aligned'>No result</td>");
htmlAppendLn("<td class='bound-cell-width center aligned'>No result yet</td>");
}
}
htmlAppendLn("</tr>");
Expand Down
4 changes: 4 additions & 0 deletions server/src/main/resources/public/graphicsfuzz.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ body {
max-width: 100px;
}

.force-cell-height {
height: 100px;
}

td.warnimg {
background-color: #ffccff;
}
Expand Down

0 comments on commit a5b4356

Please sign in to comment.