mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-24 05:48:59 +08: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 instanceof HTMLElement
|
||||||
? activePeekView.target
|
? activePeekView.target
|
||||||
: undefined,
|
: undefined,
|
||||||
padding: activePeekView.info.type === 'doc',
|
padding: activePeekView.info.type !== 'image',
|
||||||
dialogFrame: activePeekView.info.type !== 'image',
|
dialogFrame: activePeekView.info.type !== 'image',
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user