Skip to content

Commit

Permalink
Fix scroll issues on PDP for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeiscontent committed Apr 12, 2023
1 parent 5faed30 commit 50dd3d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-seahorses-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'demo-store': minor
---

Fix scroll issues on Product Detail Page for small screens
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function Product() {
<div className="grid items-start md:gap-6 lg:gap-20 md:grid-cols-2 lg:grid-cols-3">
<ProductGallery
media={media.nodes}
className="w-screen md:w-full lg:col-span-2"
className="w-full lg:col-span-2"
/>
<div className="sticky md:-mb-nav md:top-nav md:-translate-y-nav md:h-screen md:pt-nav hiddenScroll md:overflow-y-scroll">
<section className="flex flex-col w-full max-w-xl gap-8 p-6 md:mx-auto md:max-w-sm md:px-0">
Expand Down

0 comments on commit 50dd3d1

Please sign in to comment.