mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-18 22:04:27 +01:00
chore: remove extra classes lightbox
This commit is contained in:
@@ -30,9 +30,8 @@ export default function Lightbox(props: Props) {
|
||||
|
||||
return (
|
||||
<>
|
||||
{isOpen && <div className="z-[100000111]">
|
||||
{isOpen &&
|
||||
<LightboxComponent
|
||||
wrapperClassName='fixed z-[10000022]'
|
||||
mainSrc={props.images[photoIndex]}
|
||||
nextSrc={props.images[(photoIndex + 1) % props.images.length]}
|
||||
prevSrc={props.images[(photoIndex + props.images.length - 1) % props.images.length]}
|
||||
@@ -45,8 +44,7 @@ export default function Lightbox(props: Props) {
|
||||
setPhotoIndex((photoIndex + 1) % props.images.length)
|
||||
}
|
||||
imagePadding={48}
|
||||
/>
|
||||
</div>}
|
||||
/>}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user