fix: nsfw overlay
This commit is contained in:
parent
defb01e2b1
commit
51095111f5
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import { useState } from 'react'
|
|||
import Lightbox from 'yet-another-react-lightbox'
|
||||
import Zoom from 'yet-another-react-lightbox/plugins/zoom'
|
||||
import NsfwOverlay from '../NsfwOverlay'
|
||||
import { cn } from '@renderer/lib/utils'
|
||||
|
||||
export default function ImageGallery({
|
||||
className,
|
||||
|
|
@ -23,7 +24,7 @@ export default function ImageGallery({
|
|||
}
|
||||
|
||||
return (
|
||||
<div className={className} onClick={(e) => e.stopPropagation()}>
|
||||
<div className={cn('relative', className)} onClick={(e) => e.stopPropagation()}>
|
||||
<ScrollArea className="w-full">
|
||||
<div className="flex space-x-2">
|
||||
{images.map((src, index) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue