Commit 8d96f1ca26597e7a20fe4f1aa1d5ff63ee880700
add minimal app.page.image styling
mix irving committed on 8/17/2017, 3:44:49 AMParent: 5a082751e526067ea6605b95a0951a27d10458b8
Files changed
app/page/image.js | changed |
app/page/image.mcss | added |
app/page/image.js | ||
---|---|---|
@@ -14,9 +14,13 @@ | ||
14 | 14 | exports.create = (api) => { |
15 | 15 | var strings = api.translations.sync.strings() |
16 | 16 | |
17 | 17 | return nest('app.page.image', function (location) { |
18 | - return h('img', {src: api.blob.sync.url(location.blob || location)}) | |
18 | + return h('Page -image', [ | |
19 | + h('div.container', [ | |
20 | + h('img', {src: api.blob.sync.url(location.blob || location)}) | |
21 | + ]) | |
22 | + ]) | |
19 | 23 | }) |
20 | 24 | } |
21 | 25 | |
22 | 26 |
Built with git-ssb-web