Left-align product images to match title text
With max-height constraining square media, images no longer fill the container width and were centering via inherited text-align.
This commit is contained in:
parent
449542d3d8
commit
007a53f3df
1 changed files with 4 additions and 0 deletions
|
|
@ -415,6 +415,10 @@ img.product-thumbnail {
|
|||
max-height: 33vh;
|
||||
}
|
||||
|
||||
.product-images {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.product-images img.product-main,
|
||||
div.product-images img.product-main {
|
||||
max-width: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue