fix: image zoom scroll (#1038)

This commit is contained in:
Aman Harwara
2022-05-23 16:45:12 +05:30
committed by GitHub
parent ce39fe55db
commit 509bd506b5

View File

@@ -26,7 +26,7 @@ export const ImagePreview: FunctionComponent<Props> = ({ objectUrl }) => {
}
: {
position: 'absolute',
inset: 0,
top: 0,
margin: 'auto',
}),
}}