git ssb

2+

mixmix / ticktack



Commit 8d96f1ca26597e7a20fe4f1aa1d5ff63ee880700

add minimal app.page.image styling

mix irving committed on 8/17/2017, 3:44:49 AM
Parent: 5a082751e526067ea6605b95a0951a27d10458b8

Files changed

app/page/image.jschanged
app/page/image.mcssadded
app/page/image.jsView
@@ -14,9 +14,13 @@
1414 exports.create = (api) => {
1515 var strings = api.translations.sync.strings()
1616
1717 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+ ])
1923 })
2024 }
2125
2226
app/page/image.mcssView
@@ -1,0 +1,9 @@
1+Page -image {
2+ div.container {
3+ display: flex
4+
5+ img {
6+ margin: 0 auto
7+ }
8+ }
9+}

Built with git-ssb-web