Better image sizing on profiles

This commit is contained in:
Anders Rune Jensen
2017-06-29 21:57:42 +02:00
parent c1d1977660
commit d6e3e6a468
+1 -2
View File
@@ -117,8 +117,7 @@ function renderAbout(opts, about, showAllHTML = "") {
h('figure', h('figure',
h('img', h('img',
{ src: opts.img_base + about.image, { src: opts.img_base + about.image,
height: 200, style: 'max-height: 200px; max-width: 200px;'
width: 200
}), }),
figCaption) figCaption)
)).outerHTML, )).outerHTML,