Skip to content

Commit

Permalink
fix(storefront): BCTHEME-851 Product images on PDP has clipped outline
Browse files Browse the repository at this point in the history
  • Loading branch information
yurytut1993 committed Sep 23, 2021
1 parent 74b4671 commit df00952
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Draft
- Fix product images on PDP has clipped outline. [#2124](https://github.com/bigcommerce/cornerstone/pull/2124)

## 6.1.0 (09-03-2021)
- Fixed images placeholder on hero carousel shifted on mobile when slide has content. [#2112](https://github.com/bigcommerce/cornerstone/pull/2112)
Expand Down
7 changes: 3 additions & 4 deletions assets/scss/components/stencil/productView/_productView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
@include lazy-loaded-img;
/* Object-fit polyfill */
font-family: "object-fit: contain;";
max-height: 100%;
height: 100%;
object-fit: contain;
width: 100%;
}
Expand Down Expand Up @@ -98,8 +98,7 @@

.productView-thumbnail {
@include grid-column(3);
padding-left: spacing("quarter");
padding-right: spacing("quarter");
padding: spacing("quarter");
text-align: center;

@include breakpoint("large") {
Expand All @@ -110,7 +109,7 @@
.productView-thumbnail-link {
border: container("border");
box-sizing: content-box;
display: inline-flex;
display: flex;
height: 67px;
justify-content: center;
max-width: 75px;
Expand Down

0 comments on commit df00952

Please sign in to comment.