mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-03 06:03:21 +03:00
fix(core): workaround for center peek styles (#7532)
This commit is contained in:
parent
2919d4912c
commit
d168128174
@ -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',
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user