[Issue] Add aspect ratio for catalog images and remove unnecessary script #37691
Labels
Area: UI Framework
Component: Catalog
Component: Frontend
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.4.x
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S2
Major restrictions or short-term circumventions are required until a fix is available.
Projects
This issue is automatically created based on existing pull request: #34776: Add aspect ratio for catalog images and remove unnecessary script
Description (*)
The old CSS hack could be modernised here, also remove inlinescript.
https://caniuse.com/mdn-css_properties_aspect-ratio
Testet also on Safari 14.0.3 (fallback)
![apple](https://user-images.githubusercontent.com/16542619/145244428-355d3f33-7638-419a-a1e8-c3c9fc5ecb32.png)
The text was updated successfully, but these errors were encountered: