fix: Safari Product Image Gallery (#162)
* fix: gallery safari grid layout * Update CHANGELOG.md Co-authored-by: Josh Larson <josh.larson@shopify.com>
This commit is contained in:
parent
01dd715da6
commit
d5232a8cfa
|
@ -9,6 +9,7 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|||
|
||||
- Wrap instances of `<Money>` in client components due to render prop usage
|
||||
- Eliminate use of `Link` client re-exports
|
||||
- fix: gallery safari grid layout
|
||||
|
||||
## 0.6.1 - 2021-11-08
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ export default function Gallery() {
|
|||
className="gap-4 flex md:grid md:grid-cols-2 overflow-x-scroll no-scrollbar scroll-snap-x scroll-smooth h-[485px] md:h-auto place-content-start"
|
||||
tabIndex="-1"
|
||||
>
|
||||
<SelectedVariantImage className="w-[80vw] md:w-full h-full object-cover object-center flex-shrink-0 md:flex-shrink-none snap-start md:col-span-2 border border-gray-200 rounded-lg" />
|
||||
<SelectedVariantImage className="w-[80vw] md:w-full h-full md:h-auto object-cover object-center flex-shrink-0 md:flex-shrink-none snap-start md:col-span-2 border border-gray-200 rounded-lg" />
|
||||
{galleryMedia.map((med) => {
|
||||
let extraProps = {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue