From e6c57e42071b9b49737c820a3cdfd14cd4864ce3 Mon Sep 17 00:00:00 2001 From: cel Date: Sun, 24 Dec 2017 12:06:54 -1000 Subject: Make message full width --- lib/render-msg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/render-msg.js b/lib/render-msg.js index 3b498e0..e8830c3 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -102,7 +102,7 @@ RenderMsg.prototype.wrap = function (content, cb) { var channel = this.c.channel ? '#' + this.c.channel : '' var done = multicb({pluck: 1, spread: true}) done()(null, [h('tr.msg-row', - h('td.msg-left', {rowspan: 2}, + h('td.msg-left', h('div', this.render.avatarImage(this.msg.value.author, done())), h('div', this.render.idLink(this.msg.value.author, done())), this.recpsLine(done()) @@ -118,7 +118,7 @@ RenderMsg.prototype.wrap = function (content, cb) { channel ? [' ', h('a', {href: this.toUrl(channel)}, channel)] : '')), h('td.msg-right', this.actions()) ), h('tr', - h('td.msg-content', {colspan: 2}, + h('td.msg-content', {colspan: 3}, this.issues(done()), content) )]) -- cgit v1.2.3