From fc0b1d482f93fc3a256667aa96843b4f0c0c4ecb Mon Sep 17 00:00:00 2001 From: cel Date: Wed, 21 Jun 2017 07:28:39 -1000 Subject: Render arrows with symbol font, for dillo --- lib/render-msg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/render-msg.js b/lib/render-msg.js index 15e278c..cd5a84f 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -277,9 +277,9 @@ RenderMsg.prototype.post = function (cb) { done(function (err, rootLink, branchLinks) { if (err) return self.wrap(u.renderError(err), cb) self.wrap(h('div.ssb-post', - rootLink ? h('div', h('small', '→ ', rootLink)) : '', + rootLink ? h('div', h('small', h('span.symbol', '→'), ' ', rootLink)) : '', branchLinks.map(function (a, i) { - return h('div', h('small', '  ↳ ', a)) + return h('div', h('small', h('span.symbol', '  ↳'), ' ', a)) }), h('div.ssb-post-text', {innerHTML: self.markdown()}) ), cb) -- cgit v1.2.3