@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.
@@ -454,7 +454,7 @@ const Image = ({
454
454
  maxWidth: width <= 649 ? width : '100%'
455
455
  };
456
456
  const pictureStyles = {
457
- paddingBottom: ratio === null ? 'unset' : `${100 / (ratio || width / height)}%`
457
+ aspectRatio: ratio === null ? 'unset' : `${ratio || width / height}`
458
458
  };
459
459
  /* fallback w325 url until w6 was released */
460
460
  const fallbackSource = source && source[0] || optimized.w325 && optimized.w325['1x'] || optimized.original;