aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-12-05 12:56:27 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-12-07 16:35:45 -1000
commitea522127885486018de1547de0db04f3d3144eb6 (patch)
tree366a096838a73d8f09f4c256b4dfdca90695eb21 /lib/render-msg.js
parentd4dfcf4d602dcdaa977d616bcda2dd7a4b8a25c4 (diff)
downloadpatchfoo-ea522127885486018de1547de0db04f3d3144eb6.tar.gz
patchfoo-ea522127885486018de1547de0db04f3d3144eb6.zip
Emphasize content warning more
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 9d3e0df..277b419 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -149,7 +149,8 @@ RenderMsg.prototype.wrap = function (content, cb) {
this.issues(done()),
this.c.contentWarning ? [
h('details', [
- h('summary', 'Content warning: ' + mdInline(this.c.contentWarning)),
+ h('summary', h('div.content-warning',
+ 'Content warning: ' + mdInline(this.c.contentWarning))),
content
])
] : content)