Skip to content

Commit

Permalink
make mobile iframe larger
Browse files Browse the repository at this point in the history
  • Loading branch information
gianfra-t committed Sep 2, 2024
1 parent a2f475b commit 6172629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Iframe/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const IframeComponent: React.FC<IframeProps> = ({
<div className="max-w-lg w-full">
<div className="text-center">
<h1 className="text-2xl font-bold text-blue-700 mb-4">{title}</h1>
<h2 className="text-lg mb-4">{subtitle}</h2>
<div className="relative pb-[102%]">
<h2 className="text-md mb-4">{subtitle}</h2>
<div className="relative pb-[150%] md:w-[535px] md:h-[550px]">
<iframe
src={src}
style={{ border: 'none' }}
Expand Down

0 comments on commit 6172629

Please sign in to comment.