mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Fix sticky diff stats container (#12002)
* Fix sticky diff stats container * Use pure CSS sticky instead of Fomantic's JS * add border color to arc-green * add slight padding on sides * make linter happy Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		 Cirno the Strongest
					Cirno the Strongest
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							fc2f2c7602
						
					
				
				
					commit
					daf62841f6
				
			| @@ -1204,8 +1204,6 @@ function initPullRequestReview() { | ||||
|     return; | ||||
|   } | ||||
|  | ||||
|   $('.diff-detail-box.ui.sticky').sticky(); | ||||
|  | ||||
|   $('.btn-review').on('click', function (e) { | ||||
|     e.preventDefault(); | ||||
|     $(this).closest('.dropdown').find('.menu').toggle('visible'); | ||||
| @@ -2042,7 +2040,6 @@ function initCodeView() { | ||||
|     $.get(`${$blob.data('url')}?${$blob.data('query')}&anchor=${$blob.data('anchor')}`, (blob) => { | ||||
|       $row.replaceWith(blob); | ||||
|       $(`[data-anchor="${$blob.data('anchor')}"]`).on('click', (e) => { insertBlobExcerpt(e) }); | ||||
|       $('.diff-detail-box.ui.sticky').sticky(); | ||||
|     }); | ||||
|   } | ||||
|   $('.ui.blob-excerpt').on('click', (e) => { insertBlobExcerpt(e) }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user