diff --git a/src/components/images/Gallery/index.web.tsx b/src/components/images/Gallery/index.web.tsx index 49012eef01..3c882ce6b9 100644 --- a/src/components/images/Gallery/index.web.tsx +++ b/src/components/images/Gallery/index.web.tsx @@ -171,7 +171,7 @@ export function Gallery({ const ps = window.getComputedStyle(parent) const pl = parseFloat(ps.paddingLeft) const pr = parseFloat(ps.paddingRight) - if (pl >= 8 && pr >= 8 && ps.cursor === 'pointer') { + if (pl >= 8 && pr >= 8) { const parentRect = parent.getBoundingClientRect() const il = galleryRect.left - parentRect.left insetLeftRef.current = il @@ -332,11 +332,11 @@ export function Gallery({ ))} - {isBleed && insetRight > 0 && ( + {(isBleed ? insetRight > 0 : isWithinQuote) && (