Skip to content

Commit

Permalink
Merge pull request #2161 from graphcommerce-org/bug/sidebar-gallery-t…
Browse files Browse the repository at this point in the history
…op-whitespace-GCOM-1310

Bug/sidebar gallery top whitespace gcom 1310
  • Loading branch information
paales authored Jan 15, 2024
2 parents 535ab05 + cc5c636 commit d3e9601
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/blue-coats-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphcommerce/next-ui": patch
---

Removed whitespace on top of the zoomed in image on the PDP.
2 changes: 1 addition & 1 deletion packages/next-ui/FramerScroller/SidebarGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export function SidebarGallery(props: SidebarGalleryProps) {
},
zoomed && {
position: 'relative',
top: 0,
top: { xs: 0, md: 0 },
marginTop: 0,
paddingTop: dvh(100),
},
Expand Down

1 comment on commit d3e9601

@vercel
Copy link

@vercel vercel bot commented on d3e9601 Jan 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

graphcommerce-hygraph-dynamic-rows-ui – ./packages/hygraph-dynamic-rows-ui

graphcommerce-hygraph-dynamic-rows-ui-git-canary-graphcommerce.vercel.app
graphcommerce-hygraph-dynamic-rows-ui-graphcommerce.vercel.app
graphcommerce-hygraph-dynamic-rows-ui.vercel.app

Please sign in to comment.