Commit a821b0ce884300e8ff3901678c19c6827e1189e9
better styling on message meta (channel, issue status)
Matt McKegg committed on 11/1/2016, 3:03:28 AMParent: 755b0f1ae26a1af4371659e3f3a45b9cf6c690c0
Files changed
modules/channel.js | changed |
styles/message.mcss | changed |
modules/channel.js | ||
---|---|---|
@@ -60,9 +60,9 @@ | ||
60 | 60 | |
61 | 61 | exports.message_meta = function (msg) { |
62 | 62 | var chan = msg.value.content.channel |
63 | 63 | if (chan) { |
64 | - return h('a', {href: '##' + chan}, '#' + chan) | |
64 | + return h('a.channel', {href: '##' + chan}, '#' + chan) | |
65 | 65 | } |
66 | 66 | } |
67 | 67 | |
68 | 68 | function subscribe (id) { |
styles/message.mcss | ||
---|---|---|
@@ -55,8 +55,19 @@ | ||
55 | 55 | } |
56 | 56 | } |
57 | 57 | |
58 | 58 | div.meta { |
59 | + | |
60 | + em { | |
61 | + display: inline-block | |
62 | + padding: 4px | |
63 | + } | |
64 | + | |
65 | + a.channel { | |
66 | + display: inline-block | |
67 | + padding: 4px | |
68 | + } | |
69 | + | |
59 | 70 | span.likes { |
60 | 71 | color: #ffffff; |
61 | 72 | background: linear-gradient(45deg, #859c88, #87d47d); |
62 | 73 | padding: 5px 8px; |
Built with git-ssb-web