📱 fix image size on phones
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
7cb4bbcf0b
commit
1f4fceead7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const visitors = guestbook["visitors"];
|
||||||
{visitors.map((visitor) => (
|
{visitors.map((visitor) => (
|
||||||
<div class="flex flex-col items-center">
|
<div class="flex flex-col items-center">
|
||||||
<figure class="relative">
|
<figure class="relative">
|
||||||
<img src={visitor.image} class="object-cover h-[300px] w-full rounded-sm"/>
|
<img src={visitor.image} class="object-cover h-full md:h-[300px] w-full rounded-sm"/>
|
||||||
<figcaption class="absolute bottom-2 left-2 bg-black text-white px-2 py-1 rounded-xl text-xs">
|
<figcaption class="absolute bottom-2 left-2 bg-black text-white px-2 py-1 rounded-xl text-xs">
|
||||||
<div class="guestbook">
|
<div class="guestbook">
|
||||||
{visitor.name} ✿
|
{visitor.name} ✿
|
||||||
|
|
Loading…
Reference in a new issue