mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Show friendly 500 error page to users and developers (#24110)
Close #24104 This also introduces many tests to cover many complex error handling functions. ### Before The details are never shown in production. <details>  </details> ### After The details could be shown to site admin users. It is safe. 
This commit is contained in:
		| @@ -46,8 +46,8 @@ | ||||
|   text-overflow: ellipsis !important; | ||||
| } | ||||
|  | ||||
| .gt-full-screen-width { width: 100vw !important; } | ||||
| .gt-full-screen-height { height: 100vh !important; } | ||||
| .gt-w-screen { width: 100vw !important; } | ||||
| .gt-h-screen { height: 100vh !important; } | ||||
|  | ||||
| .gt-rounded { border-radius: var(--border-radius) !important; } | ||||
| .gt-rounded-top { border-radius: var(--border-radius) var(--border-radius) 0 0 !important; } | ||||
| @@ -202,6 +202,7 @@ | ||||
|  | ||||
| .gt-shrink-0 { flex-shrink: 0 !important; } | ||||
| .gt-whitespace-nowrap { white-space: nowrap !important; } | ||||
| .gt-whitespace-pre-wrap { white-space: pre-wrap !important; } | ||||
|  | ||||
| @media (max-width: 767px) { | ||||
|   .gt-db-small { display: block !important; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user