Added max-width style to scale down large images

This commit is contained in:
Owen Conti
2017-07-21 20:56:00 -06:00
parent defc45f7a6
commit 454e9af16b

View File

@@ -40,7 +40,7 @@ export default class ResponseBody extends React.Component {
// Image
} else if (/^image\//i.test(contentType)) {
bodyEl = <img src={ window.URL.createObjectURL(content) } />
bodyEl = <img style={{ maxWidth: "100%" }} src={ window.URL.createObjectURL(content) } />
// Audio
} else if (/^audio\//i.test(contentType)) {