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

This commit is contained in:
Peng Xiao 2024-07-18 11:43:42 +08:00 committed by GitHub
parent 2919d4912c
commit d168128174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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',
};
};