Harmonize unified diff's styling of images with that of text
Change-Id: I48bd10b77d2204ba9078bcd70c7f93ad13c5b3a9
This commit is contained in:
		
				
					committed by
					
						
						Gerrit Code Review
					
				
			
			
				
	
			
			
			
						parent
						
							efe7244572
						
					
				
				
					commit
					684fa1bdd9
				
			@@ -280,18 +280,14 @@ public class UnifiedDiffTable extends AbstractPatchContentTable {
 | 
				
			|||||||
    nc.setAttribute("align", "center");
 | 
					    nc.setAttribute("align", "center");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    nc.openTd();
 | 
					    nc.openTd();
 | 
				
			||||||
    nc.nbsp();
 | 
					    nc.setStyleName(Gerrit.RESOURCES.css().iconCell());
 | 
				
			||||||
    nc.closeTd();
 | 
					    nc.closeTd();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    nc.openTd();
 | 
					    padLineNumberForSideA(nc);
 | 
				
			||||||
    nc.nbsp();
 | 
					    padLineNumberForSideB(nc);
 | 
				
			||||||
    nc.closeTd();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    nc.openTd();
 | 
					 | 
				
			||||||
    nc.nbsp();
 | 
					 | 
				
			||||||
    nc.closeTd();
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    nc.openTd();
 | 
					    nc.openTd();
 | 
				
			||||||
 | 
					    nc.setStyleName(Gerrit.RESOURCES.css().fileLine());
 | 
				
			||||||
    if (script.getDisplayMethodA() == DisplayMethod.IMG) {
 | 
					    if (script.getDisplayMethodA() == DisplayMethod.IMG) {
 | 
				
			||||||
      if (idSideA == null) {
 | 
					      if (idSideA == null) {
 | 
				
			||||||
        appendImgTag(nc, rawBase + KeyUtil.encode(patchKey.toString()) + "^1");
 | 
					        appendImgTag(nc, rawBase + KeyUtil.encode(patchKey.toString()) + "^1");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user