git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 591f5b731bb11a2356ab101d2f15710f484e218c

Add side menu title

Josiah Witt committed on 3/15/2018, 2:38:25 AM
Parent: 741ac0a148c2a18f2bc5d54ad7582e7c82430d2b

Files changed

modules/page/html/render/tag.jschanged
modules/page/html/render/tag.jsView
@@ -47,18 +47,22 @@
4747 ])
4848 ]
4949
5050 return h('div.SplitView', [
51- h('div.side', map(
52- tags,
53- tag => computed(
54- tag,
55- ({ tagId, tagName }) =>
56- h('a', {
57- 'ev-click': () => selectedTagId.set(tagId)
58- }, api.tag.html.tag({ tagName, tagId }, null))
51 + h('div.side', [
52 + h('h2', 'Your Tags'),
53 + map(
54 + tags,
55 + tag => computed(
56 + tag,
57 + ({ tagId, tagName }) =>
58 + h('a', {
59 + 'ev-click': () => selectedTagId.set(tagId),
60 + style: { 'margin-bottom': '.3rem', display: 'inline-block' }
61 + }, api.tag.html.tag({ tagName, tagId }, null))
62 + )
5963 )
60- )),
64 + ]),
6165 h('div.main', [
6266 h('Scroller',[
6367 h('h2', name),
6468 h('section.messages', [

Built with git-ssb-web