fix(core): workaround for center peek styles (#7532)

This commit is contained in:
Peng Xiao authored and GitHub committed 2024-07-18 11:43:42 +08:00
1 parent 2919d4912c
commit d168128174
1 file changed
+1 -1
@@ -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',
};
};