fix(try-it-out): fix the width of image responses (#7495)

Refs #5578
This commit is contained in:
Helen Kosova
2021-09-15 13:25:51 +03:00
committed by GitHub
parent e5611d72ff
commit cc700f034b
2 changed files with 1 additions and 6 deletions

View File

@@ -129,7 +129,7 @@ export default class ResponseBody extends React.PureComponent {
if(contentType.includes("svg")) { if(contentType.includes("svg")) {
bodyEl = <div> { content } </div> bodyEl = <div> { content } </div>
} else { } else {
bodyEl = <img className="full-width" src={ window.URL.createObjectURL(content) } /> bodyEl = <img src={ window.URL.createObjectURL(content) } />
} }
// Audio // Audio

View File

@@ -867,11 +867,6 @@
float: right; float: right;
} }
img.full-width
{
width: 100%;
}
.svg-assets .svg-assets
{ {
position: absolute; position: absolute;