Skip to content

Commit

Permalink
chore: use 100% instead of 100vw on image
Browse files Browse the repository at this point in the history
  • Loading branch information
danji90 committed Oct 15, 2024
1 parent 395bdd9 commit bd9cb43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/PageHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function PageHeader({
}`}
>
<div
className={`relative ${titleDown ? "h-[max(75vw,300px)] sm:h-[min(50vw,600px)]" : "h-full"} ${maintainAspectRatio ? "w-[min(100vw,1800px)] sm:h-[min(50vw,900px)] m-auto" : ""}`}
className={`relative ${titleDown ? "h-[max(75vw,300px)] sm:h-[min(50vw,600px)]" : "h-full"} ${maintainAspectRatio ? "w-[min(100%,1800px)] sm:h-[min(50vw,900px)] m-auto" : ""}`}
>
{src && (
<Image
Expand Down

0 comments on commit bd9cb43

Please # to comment.