diff options
| author | Andrea Zanotto <andrea.zanotto@zoppas.com> | 2026-01-08 10:16:18 +0100 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-01-09 14:08:28 -0500 |
| commit | 0a983330cd57dd2bb1dfa91a5a3ed742559eebe6 (patch) | |
| tree | 8c7b722465729dee1124f5536c53be305c01a29d /django/views | |
| parent | 9247410b4ba3b1f855567b8d84422d36345c690a (diff) | |
Fixed #36853 -- Fixed technical 500 and 404 email CSS support.
Diffstat (limited to 'django/views')
| -rw-r--r-- | django/views/templates/technical_404.html | 2 | ||||
| -rw-r--r-- | django/views/templates/technical_500.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/views/templates/technical_404.html b/django/views/templates/technical_404.html index 73abb22af4..f7a60d23fb 100644 --- a/django/views/templates/technical_404.html +++ b/django/views/templates/technical_404.html @@ -9,7 +9,7 @@ body * { padding:10px 20px; } body * * { padding:0; } body { font-family: sans-serif; background:#eee; color:#000; } - body > :where(header, main, footer) { border-bottom:1px solid #ddd; } + body > header, body > main, body > footer { border-bottom:1px solid #ddd; } h1 { font-weight:normal; margin-bottom:.4em; } h1 small { font-size:60%; color:#666; font-weight:normal; } table { border:none; border-collapse: collapse; width:100%; } diff --git a/django/views/templates/technical_500.html b/django/views/templates/technical_500.html index a2fc8415f5..a7a55dda43 100644 --- a/django/views/templates/technical_500.html +++ b/django/views/templates/technical_500.html @@ -10,7 +10,7 @@ body * { padding:10px 20px; } body * * { padding:0; } body { font-family: sans-serif; background-color:#fff; color:#000; } - body > :where(header, main, footer) { border-bottom:1px solid #ddd; } + body > header, body > main, body > footer { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } h3 { margin:1em 0 .5em 0; } |
