aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-12-24 12:06:54 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-12-26 14:06:52 -1000
commite6c57e42071b9b49737c820a3cdfd14cd4864ce3 (patch)
tree5893bf81454b93a8c640d916ce64ee4bb00e7edc
parentc5a95cc1ebe6dd3a4d572220f5cd60c31381de97 (diff)
downloadpatchfoo-e6c57e42071b9b49737c820a3cdfd14cd4864ce3.tar.gz
patchfoo-e6c57e42071b9b49737c820a3cdfd14cd4864ce3.zip
Make message full width
-rw-r--r--lib/render-msg.js4
-rw-r--r--static/styles.css2
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 {