Skip to content

Commit

Permalink
fix: fix scratch component size
Browse files Browse the repository at this point in the history
  • Loading branch information
naoji3x committed Apr 13, 2024
1 parent 1b1dda5 commit 4f8c54c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,14 @@ const Scratch = ({
title: string
description: string
}) => (
<div className="max-w-[485px] aspect-[7/6] w-full lg:w-1/2 lg:mb-0 mb-12 mx-auto">
<iframe
src={iframe}
allowTransparency={true}
className="mx-auto border-0 w-full h-full"
></iframe>
<div className="w-full lg:w-1/2 lg:mb-0 mb-12 mx-auto">
<div className="max-w-[485px] aspect-[7/6] w-full mx-auto">
<iframe
src={iframe}
allowTransparency={true}
className="mx-auto border-0 w-full h-full"
></iframe>
</div>

<a
className="text-blue-500 hover:underline"
Expand Down

0 comments on commit 4f8c54c

Please sign in to comment.