mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	minor JS and UI fix
This commit is contained in:
		@@ -2318,6 +2318,7 @@ footer .container .links > *:first-child {
 | 
			
		||||
}
 | 
			
		||||
.repository .diff-file-box .code-diff pre {
 | 
			
		||||
  margin: 0;
 | 
			
		||||
  font-size: 13px;
 | 
			
		||||
}
 | 
			
		||||
.repository .diff-file-box .code-diff .lines-num {
 | 
			
		||||
  border-right: 1px solid #d4d4d5;
 | 
			
		||||
 
 | 
			
		||||
@@ -938,7 +938,7 @@ $(window).load(function () {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Code view.
 | 
			
		||||
    if ($('.code-view').length > 0) {
 | 
			
		||||
    if ($('.code-view .linenums').length > 0) {
 | 
			
		||||
        var $block = $('.code-view .linenums');
 | 
			
		||||
        var lines = $block.html().split("\n");
 | 
			
		||||
        $block.html('');
 | 
			
		||||
 
 | 
			
		||||
@@ -676,12 +676,14 @@
 | 
			
		||||
    }
 | 
			
		||||
    .code-diff {
 | 
			
		||||
    	font-size: 13px;
 | 
			
		||||
    	
 | 
			
		||||
    	td {
 | 
			
		||||
    		padding: 0;
 | 
			
		||||
    		border-top: none;
 | 
			
		||||
    	}
 | 
			
		||||
    	pre {
 | 
			
		||||
    		margin: 0;
 | 
			
		||||
	    	font-size: 13px;
 | 
			
		||||
    	}
 | 
			
		||||
    	.lines-num {
 | 
			
		||||
    		border-right: 1px solid #d4d4d5;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user