aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
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)