Commit 9b94074d61d35f88c4ec4ab4129e90a491c17a4e
re-enable back
mix irving committed on 8/26/2017, 9:30:33 PMParent: 8305e973fba75a7e00724bbe0cb85d1cf7313cf0
Files changed
app/html/header.js | changed |
app/html/header.mcss | changed |
app/html/header.js | ||
---|---|---|
@@ -8,11 +8,11 @@ | ||
8 | 8 | exports.create = (api) => { |
9 | 9 | return nest('app.html.header', (nav) => { |
10 | 10 | return h('Header', [ |
11 | 11 | h('nav', [ |
12 | - // h('div.back', { 'ev-click': nav.back }, [ | |
13 | - // h('i.fa.fa-angle-left') | |
14 | - // ]), // BROKEN for rolled-in sbot | |
12 | + h('div.back', { 'ev-click': nav.back }, [ | |
13 | + h('i.fa.fa-angle-left') | |
14 | + ]), | |
15 | 15 | h('i.fa.fa-home', { 'ev-click': () => nav.push({page:'home'}) }), |
16 | 16 | // FUTURE breadcrumb here ? |
17 | 17 | // h('h1', computed(nav.location, e => e.element.title)), |
18 | 18 |
app/html/header.mcss | ||
---|---|---|
@@ -27,12 +27,16 @@ | ||
27 | 27 | width: 1rem |
28 | 28 | padding: 0 0.2em 0 1rem |
29 | 29 | border: 1px solid #ddd |
30 | 30 | border-radius: 4px |
31 | + border-top-left-radius: 0 | |
32 | + border-bottom-left-radius: 0 | |
33 | + border-left: none | |
31 | 34 | |
32 | 35 | :hover { |
33 | 36 | $colorPrimary |
34 | 37 | border: 1px solid #fff |
38 | + border-left: none | |
35 | 39 | } |
36 | 40 | } |
37 | 41 | |
38 | 42 | i.fa-home { |
@@ -47,10 +51,10 @@ | ||
47 | 51 | display: flex |
48 | 52 | justify-content: flex-end |
49 | 53 | } |
50 | 54 | } |
51 | - | |
52 | 55 | |
56 | + | |
53 | 57 | } |
54 | 58 | |
55 | 59 | $navFA { |
56 | 60 | i { |
Built with git-ssb-web