Some zoom and carousel settings twaks, enable pulldown dismisal

This commit is contained in:
Jackson Harper
2023-08-10 14:57:10 +08:00
parent bcd5fa9f64
commit 17da8199be

View File

@ -275,6 +275,13 @@ export function Article(props: ArticleProps): JSX.Element {
close={() => setLightboxOpen(false)}
slides={imageSrcs}
plugins={[Fullscreen, Download, Zoom]}
controller={{ closeOnPullDown: true }}
carousel={{
finite: true,
}}
zoom={{
maxZoomPixelRatio: 3,
}}
/>
</>
)