Fixed product card image stretching issue

refs https://github.com/TryGhost/Team/issues/3329

- product card images have explicit width and height attributes in the markup now, and the image needs auto height for that reason
- without it, the images will lose its original aspect ratio for themes without the auto height images
This commit is contained in:
Sodbileg Gansukh 2023-06-01 12:08:39 +08:00
parent 3ab851e3aa
commit e4415e9109

View File

@ -26,6 +26,7 @@
.kg-product-card-image {
grid-column: 1 / 3;
justify-self: center;
height: auto;
}
.kg-product-card-title-container {