diff --git a/src/app/staff/page.tsx b/src/app/staff/page.tsx index ef72d93..d88c798 100644 --- a/src/app/staff/page.tsx +++ b/src/app/staff/page.tsx @@ -37,7 +37,7 @@ export default function Page() { alt="" height={438} width={582} - className="rounded-xl object-fit max-h-96 w-auto" + className="rounded-xl object-contain max-h-96 w-auto" /> ))} diff --git a/src/components/Speakers/Session/Session.tsx b/src/components/Speakers/Session/Session.tsx index 5bdd81b..f6fc77b 100644 --- a/src/components/Speakers/Session/Session.tsx +++ b/src/components/Speakers/Session/Session.tsx @@ -36,7 +36,7 @@ const Session = ({ alt={t(`speakers:data.rooms.${session.room}`)} width={18} height={20} - className="object-fit mr-1" + className="object-contain mr-1" /> {t(`speakers:data.rooms.${session.room}`)} diff --git a/src/components/SponsorList/SponsorListByType.tsx b/src/components/SponsorList/SponsorListByType.tsx index c0887bc..9d77d8a 100644 --- a/src/components/SponsorList/SponsorListByType.tsx +++ b/src/components/SponsorList/SponsorListByType.tsx @@ -75,7 +75,7 @@ const SponsorListByType = ({ items }: { items: SponsorProps[] }) => { alt={sponsor.name} width={606} height={280} - className="rounded-3xl object-fit md:col-span-2" + className="rounded-3xl object-contain md:col-span-2" />
@@ -84,7 +84,7 @@ const SponsorListByType = ({ items }: { items: SponsorProps[] }) => { alt={sponsor.name} width={150} height={30} - className="object-fit h-full w-auto max-w-48" + className="object-contain h-full w-auto max-w-48" />