Better image sizing on profiles
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user