@meduza/ui-kit-2 1.4.4 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -458,7 +458,7 @@ const Image = ({
458
458
  maxWidth: width <= 649 ? width : '100%'
459
459
  };
460
460
  const pictureStyles = {
461
- paddingBottom: ratio === null ? 'unset' : `${100 / (ratio || width / height)}%`
461
+ aspectRatio: ratio === null ? 'unset' : `${ratio || width / height}`
462
462
  };
463
463
  /* fallback w325 url until w6 was released */
464
464
  const fallbackSource = source && source[0] || optimized.w325 && optimized.w325['1x'] || optimized.original;