diff --git a/packages/frontend/core/src/modules/peek-view/view/peek-view-manager.tsx b/packages/frontend/core/src/modules/peek-view/view/peek-view-manager.tsx index 1030e3161..4ceb727c9 100644 --- a/packages/frontend/core/src/modules/peek-view/view/peek-view-manager.tsx +++ b/packages/frontend/core/src/modules/peek-view/view/peek-view-manager.tsx @@ -72,7 +72,7 @@ const getRendererProps = ( activePeekView?.target instanceof HTMLElement ? activePeekView.target : undefined, - padding: activePeekView.info.type === 'doc', + padding: activePeekView.info.type !== 'image', dialogFrame: activePeekView.info.type !== 'image', }; };