From 1b4ba1499987d132649fc65d16604ce685c6a8fd Mon Sep 17 00:00:00 2001 From: Dean Schulz Date: Thu, 6 Jun 2024 13:41:42 +0000 Subject: [PATCH 1/4] Allow zoom in on main product image for mobile --- CHANGELOG.md | 1 + assets/scss/components/stencil/productView/_productView.scss | 2 +- templates/layout/base.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 566280980e..eab1a67e95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Remove remote_api_scripts to avoid double firing Meta Pixel analytics [#2467](https://github.com/bigcommerce/cornerstone/pull/2467) - Prevent flow outside page container on account pages [#2462](https://github.com/bigcommerce/cornerstone/pull/2462) - Account.js - Fixed jquery selector to be template literal [#2464](https://github.com/bigcommerce/cornerstone/pull/2464) +- Allow zoom in on main product image for mobile ## 6.14.0 (05-15-2024) - Account.php is inside of a list item [#2457](https://github.com/bigcommerce/cornerstone/pull/2457) diff --git a/assets/scss/components/stencil/productView/_productView.scss b/assets/scss/components/stencil/productView/_productView.scss index 6a4551d507..db99343136 100644 --- a/assets/scss/components/stencil/productView/_productView.scss +++ b/assets/scss/components/stencil/productView/_productView.scss @@ -60,7 +60,7 @@ .productView-thumbnails { @include u-listBullets("none"); @include grid-row($behavior: "nest"); - + touch-action: auto !important; margin-left: -(spacing("quarter")); margin-right: -(spacing("quarter")); diff --git a/templates/layout/base.html b/templates/layout/base.html index 36ec2da860..ed66d15888 100644 --- a/templates/layout/base.html +++ b/templates/layout/base.html @@ -8,7 +8,7 @@ {{#block "head"}} {{/block}} - +