Skip to content

Commit cc700f0

Browse files
authored
fix(try-it-out): fix the width of image responses (#7495)
Refs #5578
1 parent e5611d7 commit cc700f0

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/core/components/response-body.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default class ResponseBody extends React.PureComponent {
129129
if(contentType.includes("svg")) {
130130
bodyEl = <div> { content } </div>
131131
} else {
132-
bodyEl = <img className="full-width" src={ window.URL.createObjectURL(content) } />
132+
bodyEl = <img src={ window.URL.createObjectURL(content) } />
133133
}
134134

135135
// Audio

src/style/_layout.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -867,11 +867,6 @@
867867
float: right;
868868
}
869869

870-
img.full-width
871-
{
872-
width: 100%;
873-
}
874-
875870
.svg-assets
876871
{
877872
position: absolute;

0 commit comments

Comments
 (0)