From ea522127885486018de1547de0db04f3d3144eb6 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 5 Dec 2019 12:56:27 -1000 Subject: Emphasize content warning more --- lib/render-msg.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/render-msg.js') 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) -- cgit v1.2.3