mirror of
https://github.com/mikkelsvartveit/astro-personal-website.git
synced 2025-12-22 19:22:37 +00:00
Fix full-screen photos in mobile browsers
This commit is contained in:
parent
12ed3514bd
commit
d9248fd6f1
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ const { photo } = Astro.props;
|
||||||
alt=""
|
alt=""
|
||||||
height={2000}
|
height={2000}
|
||||||
quality="high"
|
quality="high"
|
||||||
class="object-contain rounded w-auto h-full"
|
class="object-contain rounded w-auto h-[100svh]"
|
||||||
transition:name={photo.default.src}
|
transition:name={photo.default.src}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue