diff --git a/app/renderer/components/Inspector/Inspector.js b/app/renderer/components/Inspector/Inspector.js index a9e37030b..a93a63431 100644 --- a/app/renderer/components/Inspector/Inspector.js +++ b/app/renderer/components/Inspector/Inspector.js @@ -84,7 +84,6 @@ const Inspector = (props) => { const imgRect = img.getBoundingClientRect(); const screenshotRect = screenshotBox.getBoundingClientRect(); - screenshotBox.style.flexBasis = `${imgRect.width}px`; if (imgRect.height < screenshotRect.height) { // get what the img width would be if it fills screenshot box height const attemptedWidth = (screenshotRect.height / imgRect.height) * imgRect.width;