mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Some zoom and carousel settings twaks, enable pulldown dismisal
This commit is contained in:
parent
bcd5fa9f64
commit
17da8199be
1 changed files with 7 additions and 0 deletions
|
|
@ -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,
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue