We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c20c0 commit 969cfa8Copy full SHA for 969cfa8
packages/gitbook/src/components/utils/ZoomImage.tsx
@@ -55,9 +55,6 @@ export function ZoomImage(
55
if (!mediaQueryList.matches) {
56
// Don't allow zooming on mobile
57
setZoomable(false);
58
- } else if (resizeObserver && imageWidth && viewWidth && imageWidth <= viewWidth) {
59
- // Image can't be zoomed if it's already rendered as it's largest size
60
- setZoomable(false);
61
} else {
62
setZoomable(true);
63
}
0 commit comments