forked from fahrPool/fahrPool
fix: add pointer-events-auto to lightbox image so clicking the photo does not close it
This commit is contained in:
parent
97ac267158
commit
3e544be8ce
|
|
@ -55,7 +55,7 @@ export function FotoGalerie({ fotos }: { fotos: AuftragFoto[] }) {
|
|||
<img
|
||||
src={offenesFoto.url}
|
||||
alt={offenesFoto.label}
|
||||
className="pointer-events-none max-h-[80vh] max-w-[90vw] rounded-md object-contain"
|
||||
className="pointer-events-auto max-h-[80vh] max-w-[90vw] rounded-md object-contain"
|
||||
/>
|
||||
<p className="pointer-events-none text-white">{offenesFoto.label}</p>
|
||||
<a href={offenesFoto.downloadUrl} className={`${buttonClasses("secondary", false)} pointer-events-auto`}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue