mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-19 07:26:50 +00:00
优化照片集缩放
This commit is contained in:
@@ -33,6 +33,7 @@ const NotionPage = ({ post }) => {
|
||||
const zoom = isBrowser() && mediumZoom({
|
||||
container: '.notion-viewport',
|
||||
background: 'rgba(0, 0, 0, 0.2)',
|
||||
scrollOffset: 200,
|
||||
margin: getMediumZoomMargin()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user