Changeset

11153:e4075ca84a1a

mod_http_errors: Use a class on extra data section This CSS selector makes it awkward to add more items.
author Kim Alvefur <zash@zash.se>
date Mon, 12 Oct 2020 18:13:20 +0200
parents 11152:89162d27e1b1
children 11154:dd81a318a794
files plugins/mod_http_errors.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_http_errors.lua	Sun Oct 11 20:25:32 2020 +0100
+++ b/plugins/mod_http_errors.lua	Mon Oct 12 18:13:20 2020 +0200
@@ -41,7 +41,7 @@
 	font-size : x-large
 }
 
-p+p {
+p.extra {
 	font-size : large;
 	font-family : courier
 }
@@ -50,7 +50,7 @@
 <body>
 <h1>{title}</h1>
 <p>{message}</p>
-<p>{extra?}</p>
+<p class="extra">{extra?}</p>
 </body>
 </html>
 ]];