Commit d6e3e6a468d96496d2bc2c9f4e092864723d88d2
Better image sizing on profiles
Anders Rune Jensen committed on 6/29/2017, 7:57:42 PMParent: c1d19776608f9708e1117f5c8feb7446d5942c09
Files changed
render.js | changed |
render.js | ||
---|---|---|
@@ -116,10 +116,9 @@ | ||
116 | 116 … | h('header', |
117 | 117 … | h('figure', |
118 | 118 … | h('img', |
119 | 119 … | { src: opts.img_base + about.image, |
120 | - height: 200, | |
121 | - width: 200 | |
120 … | + style: 'max-height: 200px; max-width: 200px;' | |
122 | 121 … | }), |
123 | 122 … | figCaption) |
124 | 123 … | )).outerHTML, |
125 | 124 … | showAllHTML + '</main>' + callToAction()) |
Built with git-ssb-web