working now!

This commit is contained in:
2025-11-14 14:53:09 +13:00
parent c9dfd98280
commit 2207844229

View File

@@ -70,4 +70,4 @@ const getImageLink = async (record: any) => {
<!-- Hidden element to pass server data to client --> <!-- Hidden element to pass server data to client -->
<div class="hidden" id="carousel-data">{JSON.stringify(photos)}</div> <div class="hidden" id="carousel-data">{JSON.stringify(photos)}</div>
<img id="carousel-img" class="rounded-lg w-full max-h-screen object-contain" src={ pb.files.getURL(photos[0], photos[0].image) } /> <img id="carousel-img" class="rounded-lg w-full h-[calc(100vh-7rem)] object-contain" src={ pb.files.getURL(photos[0], photos[0].image) } />