mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-09 02:53:45 +00:00
fix(core): workaround for center peek styles (#7532)
This commit is contained in:
@@ -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',
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user