Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Prevent image becoming misshapen on resize. Fixes #359. (#360)

Jake Archibald68f0f23016a2
diff --git a/src/components/Output/style.scss b/src/components/Output/style.scss
index 01ae940b..ce1b68fc 100644
--- a/src/components/Output/style.scss
+++ b/src/components/Output/style.scss
@@ -36,6 +36,8 @@
// We should try to remove this once the issue is fixed.
// https://bugs.chromium.org/p/chromium/issues/detail?id=870222#c10
will-change: auto;
+ // Prevent the image becoming misshapen due to default flexbox layout.
+ flex-shrink: 0;
}
.controls {