Harmonize unified diff's styling of images with that of text

Change-Id: I48bd10b77d2204ba9078bcd70c7f93ad13c5b3a9
This commit is contained in:
Christian Aistleitner
2013-04-24 17:15:38 +02:00
committed by Gerrit Code Review
parent efe7244572
commit 684fa1bdd9

View File

@@ -280,18 +280,14 @@ public class UnifiedDiffTable extends AbstractPatchContentTable {
nc.setAttribute("align", "center");
nc.openTd();
nc.nbsp();
nc.setStyleName(Gerrit.RESOURCES.css().iconCell());
nc.closeTd();
nc.openTd();
nc.nbsp();
nc.closeTd();
nc.openTd();
nc.nbsp();
nc.closeTd();
padLineNumberForSideA(nc);
padLineNumberForSideB(nc);
nc.openTd();
nc.setStyleName(Gerrit.RESOURCES.css().fileLine());
if (script.getDisplayMethodA() == DisplayMethod.IMG) {
if (idSideA == null) {
appendImgTag(nc, rawBase + KeyUtil.encode(patchKey.toString()) + "^1");