mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Improve detecting empty files (#31332)
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		| @@ -1706,6 +1706,18 @@ td .commit-summary { | ||||
| .file-view.markup { | ||||
|   padding: 1em 2em; | ||||
| } | ||||
|  | ||||
| .file-view.markup:has(.file-not-rendered-prompt) { | ||||
|   padding: 0; /* let the file-not-rendered-prompt layout itself */ | ||||
| } | ||||
|  | ||||
| .file-not-rendered-prompt { | ||||
|   padding: 1rem; | ||||
|   text-align: center; | ||||
|   font-size: 1rem !important; /* use consistent styles for various containers (code, markup, etc) */ | ||||
|   line-height: var(--line-height-default) !important; /* same as above */ | ||||
| } | ||||
|  | ||||
| .repository .activity-header { | ||||
|   display: flex; | ||||
|   justify-content: space-between; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user