git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit a821b0ce884300e8ff3901678c19c6827e1189e9

better styling on message meta (channel, issue status)

Matt McKegg committed on 11/1/2016, 3:03:28 AM
Parent: 755b0f1ae26a1af4371659e3f3a45b9cf6c690c0

Files changed

modules/channel.jschanged
styles/message.mcsschanged
modules/channel.jsView
@@ -60,9 +60,9 @@
6060
6161 exports.message_meta = function (msg) {
6262 var chan = msg.value.content.channel
6363 if (chan) {
64- return h('a', {href: '##' + chan}, '#' + chan)
64+ return h('a.channel', {href: '##' + chan}, '#' + chan)
6565 }
6666 }
6767
6868 function subscribe (id) {
styles/message.mcssView
@@ -55,8 +55,19 @@
5555 }
5656 }
5757
5858 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+
5970 span.likes {
6071 color: #ffffff;
6172 background: linear-gradient(45deg, #859c88, #87d47d);
6273 padding: 5px 8px;

Built with git-ssb-web