mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05: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
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
.kg-product-card-image {
|
||||
grid-column: 1 / 3;
|
||||
justify-self: center;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.kg-product-card-title-container {
|
||||
|
|
Loading…
Add table
Reference in a new issue