Skip to content

Commit

Permalink
fix: 시설안내 이미지 비율 문제
Browse files Browse the repository at this point in the history
  • Loading branch information
yeolyi committed Apr 7, 2024
1 parent 569cc5d commit 60002e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/[locale]/about/facilities/FacilitiesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function FacilitiesRow({ name, description, location, imageURL }: FacilitiesRowP
function FacilitiesRowImage({ imageURL }: { imageURL: string }) {
return (
<div className="relative h-44 w-full shrink-0 sm:w-60">
<ImageWithFallback alt="대표 이미지" src={imageURL} fill sizes="10rem" />
<ImageWithFallback alt="대표 이미지" src={imageURL} fill className="object-cover" />
</div>
);
}
2 changes: 1 addition & 1 deletion app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function RootLayout({
type="module"
src="https://8fl3k30sy0.execute-api.ap-northeast-2.amazonaws.com/v1/api/fontstream/djs/?sid=gAAAAABmERKxhfDey2qfPcjgFRkqpXwpei80obWPEPGgtzmc1srWnLLM7CwF6IB-jSHY8hwosajn3Gf6fF78x40vCqY73IHI7gAfsQB5_s3rFFOXAIfEzDO8pPh1kuI-MOAQIB06VNZirmAuXXAk8G0AkXFglUB3D2qkZZBWIBYEoezeYy5qE-kChjhuabFzkXxUNpfRrIdlFm4DhZTLr1SjdGNKgJx15nlvFpAX6PqeRNKoS6uL4Ye8346heclwa_f8pdXV9-0G"
/>
<body className="sm:min-w-[1024px]">
<body className="sm:min-w-[1200px]">
<ContextProviders locale={params.locale}>
<Navbar />
<MobileNav />
Expand Down

0 comments on commit 60002e7

Please sign in to comment.