aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-12 18:13:20 +0200
committerKim Alvefur <zash@zash.se>2020-10-12 18:13:20 +0200
commit09e8795afb2f3d218be88fbe51819c01d3f7ed13 (patch)
tree21309ed6e68e6874e132ecfed7053b86d0d0f9c6 /plugins
parentc07d15cf71f962a64aa93cdf29d5fcf592a7548e (diff)
downloadprosody-09e8795afb2f3d218be88fbe51819c01d3f7ed13.tar.gz
prosody-09e8795afb2f3d218be88fbe51819c01d3f7ed13.zip
mod_http_errors: Use a class on extra data section
This CSS selector makes it awkward to add more items.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http_errors.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua
index e151a68e..1abdc57e 100644
--- a/plugins/mod_http_errors.lua
+++ b/plugins/mod_http_errors.lua
@@ -41,7 +41,7 @@ p {
font-size : x-large
}
-p+p {
+p.extra {
font-size : large;
font-family : courier
}
@@ -50,7 +50,7 @@ p+p {
<body>
<h1>{title}</h1>
<p>{message}</p>
-<p>{extra?}</p>
+<p class="extra">{extra?}</p>
</body>
</html>
]];