Skip to content

Commit

Permalink
BCTHEME-190 Content should not scroll in two directions when zoomed
Browse files Browse the repository at this point in the history
  • Loading branch information
yurytut1993 committed Oct 8, 2020
1 parent a244865 commit 71322c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changelog

- Content should not scroll in two directions when zoomed. [#1853](https://github.com/bigcommerce/cornerstone/pull/1853)
- Quick search query param needs to be fixed while navigating to search page. [#230](https://jira.bigcommerce.com/browse/BCTHEME-230)

## Draft
Expand Down
9 changes: 8 additions & 1 deletion assets/scss/components/stencil/productView/_productView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,17 @@

// Details
// -----------------------------------------------------------------------------
//
// 1. for Androind Chrome and IE with zoom horizontal scroll fix
//
// -----------------------------------------------------------------------------

.productView-details {
padding-bottom: spacing("single") + spacing("third");
overflow: hidden; // for Androind Chrome horizontal scroll fix

&.product-options {
overflow: hidden; // 1
}
}


Expand Down
2 changes: 1 addition & 1 deletion templates/components/products/product-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ <h2 class="productView-brand"{{#if schema}} itemprop="brand" itemscope itemtype=
</div>
</section>

<section class="productView-details">
<section class="productView-details product-options">
<div class="productView-options">
{{#if product.release_date }}
<p>{{product.release_date}}</p>
Expand Down

0 comments on commit 71322c3

Please sign in to comment.