mod_http_errors: Use a class on extra data section
authorKim Alvefur <zash@zash.se>
Mon, 12 Oct 2020 18:13:20 +0200
changeset 11157 e4075ca84a1a
parent 11156 89162d27e1b1
child 11158 dd81a318a794
mod_http_errors: Use a class on extra data section This CSS selector makes it awkward to add more items.
plugins/mod_http_errors.lua
--- 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>
 ]];