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 ++-- static/styles.css | 2 +- 2 files changed, 3 insertions(+), 3 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) )]) diff --git a/static/styles.css b/static/styles.css index c26cf59..c2f48ec 100644 --- a/static/styles.css +++ b/static/styles.css @@ -133,7 +133,7 @@ pre { } .msg-content { - padding: 0 .5ex .5ex 0; + padding: 0 .5ex .5ex .5ex; } .composer-actions { -- cgit v1.2.3