Skip to content

Commit

Permalink
error 500: improved CSS style reset [Closes #581]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Nov 7, 2024
1 parent c9a5ecc commit 9a6bae7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Tracy/Debugger/assets/error.500.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ namespace Tracy;
<title>Server Error</title>

<style>
#tracy-error { all: initial; position: absolute; top: 0; left: 0; right: 0; height: 70vh; min-height: 400px; display: flex; align-items: center; justify-content: center; z-index: 1000 }
#tracy-error div { all: initial; max-width: 550px; background: white; color: #333; display: block }
#tracy-error h1 { all: initial; font: bold 50px/1.1 sans-serif; display: block; margin: 40px }
#tracy-error p { all: initial; font: 20px/1.4 sans-serif; margin: 40px; display: block }
#tracy-error small { color: gray }
#tracy-error { all: initial; position: absolute; top: 0; left: 0; right: 0; height: 70vh; min-height: 400px; display: flex; align-items: center; justify-content: center; z-index: 1000; font: 16px/1.4 sans-serif; color: #333 }
#tracy-error * { all: initial; background: transparent; color: inherit; font: inherit }
#tracy-error div { max-width: 550px; background: white; display: block }
#tracy-error h1 { font: bold 50px/1.1 sans-serif; margin: 40px; display: block }
#tracy-error p { font: 20px/1.4 sans-serif; margin: 40px; display: block }
#tracy-error small { color: gray; font-size: 80% }
#tracy-error small span { color: silver }
</style>

Expand Down

0 comments on commit 9a6bae7

Please sign in to comment.