Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Update components/size_aware_image.jsx
Browse files Browse the repository at this point in the history
Co-Authored-By: Jesús Espino <jespinog@gmail.com>
  • Loading branch information
sudheerDev and jespino committed May 21, 2019
1 parent 8fa16ac commit 91a5841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/size_aware_image.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default class SizeAwareImage extends React.PureComponent {
<svg
xmlns='http://www.w3.org/2000/svg'
viewBox={`0 0 ${dimensions.width} ${dimensions.height}`}
style={{verticalAlign: 'middle', maxHeight: `${dimensions.height}px`, maxWidth: `${dimensions.width}px`}}
style={{verticalAlign: 'middle', maxHeight: dimensions.height, maxWidth: dimensions.width}}
/>
</div>
);
Expand Down

0 comments on commit 91a5841

Please sign in to comment.