diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-12-24 12:06:54 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-12-26 14:06:52 -1000 |
commit | e6c57e42071b9b49737c820a3cdfd14cd4864ce3 (patch) | |
tree | 5893bf81454b93a8c640d916ce64ee4bb00e7edc /lib/render-msg.js | |
parent | c5a95cc1ebe6dd3a4d572220f5cd60c31381de97 (diff) | |
download | patchfoo-e6c57e42071b9b49737c820a3cdfd14cd4864ce3.tar.gz patchfoo-e6c57e42071b9b49737c820a3cdfd14cd4864ce3.zip |
Make message full width
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r-- | lib/render-msg.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) )]) |