diff options
-rw-r--r-- | lib/render-msg.js | 4 | ||||
-rw-r--r-- | static/styles.css | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index c842752..be055ff 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -52,8 +52,8 @@ RenderMsg.prototype.wrap = function (content, cb) { title: date.toLocaleString(), href: this.msg.key ? this.toUrl(this.msg.key) : undefined }, htime(date)), ' ', - h('code.ssb-id', - {href: this.toUrl(this.msg.key)}, this.msg.key), + h('code', h('a.ssb-id', + {href: this.toUrl(this.msg.key)}, this.msg.key)), channel ? [' ', h('a', {href: this.toUrl(channel)}, channel)] : ''), this.issues(done()), content), diff --git a/static/styles.css b/static/styles.css index 6f8e4a9..2210522 100644 --- a/static/styles.css +++ b/static/styles.css @@ -72,6 +72,7 @@ pre { .ssb-id { font-size: .7em; color: #777; + text-decoration: none; } .ssb-timestamp { |