mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Change the style in admin notice content view from <p> to <pre> (#11301)
That's because many notic have more than one lines. So I think pre is more better to used in here than p Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
		| @@ -2019,7 +2019,7 @@ function initAdmin() { | ||||
|  | ||||
|     // Attach view detail modals | ||||
|     $('.view-detail').on('click', function () { | ||||
|       $detailModal.find('.content p').text($(this).data('content')); | ||||
|       $detailModal.find('.content pre').text($(this).data('content')); | ||||
|       $detailModal.modal('show'); | ||||
|       return false; | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 赵智超
					赵智超