Much better effort mobile layout

This commit is contained in:
2025-11-18 11:08:41 +13:00
parent c42f43812c
commit e2142c95e9
3 changed files with 12 additions and 6 deletions

View File

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