mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
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:
parent
3ab851e3aa
commit
e4415e9109
@ -26,6 +26,7 @@
|
||||
.kg-product-card-image {
|
||||
grid-column: 1 / 3;
|
||||
justify-self: center;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.kg-product-card-title-container {
|
||||
|
Loading…
Reference in New Issue
Block a user