diff --git a/src/components/ourProjects.mobile.css b/src/components/ourProjects.mobile.css index f4d5a30d..930fe43e 100644 --- a/src/components/ourProjects.mobile.css +++ b/src/components/ourProjects.mobile.css @@ -5,10 +5,10 @@ /* For widths below 768px: give the card extra height and reduce chrome */ @media (max-width: 767px) { .ourprojects-embed-container { - min-height: 82vh !important; + min-height: 50vh !important; } .ourprojects-embed-card { - height: 82vh !important; + height: 50vh !important; border-radius: 1.25rem !important; /* smaller radius to fit */ } .ourprojects-iframe { @@ -31,10 +31,10 @@ /* For ultra small widths below 360px (covers 320px phones) */ @media (max-width: 360px) { .ourprojects-embed-container { - min-height: 88vh !important; + min-height: 55vh !important; } .ourprojects-embed-card { - height: 88vh !important; + height: 55vh !important; } .ourprojects-iframe { height: 250% !important; @@ -47,10 +47,10 @@ /* Safety for <320px specifically if needed */ @media (max-width: 320px) { .ourprojects-embed-container { - min-height: 92vh !important; + min-height: 60vh !important; } .ourprojects-embed-card { - height: 92vh !important; + height: 60vh !important; } .ourprojects-iframe { height: 280% !important; diff --git a/src/components/ourProjects.tsx b/src/components/ourProjects.tsx index a52e79fa..a06078ee 100644 --- a/src/components/ourProjects.tsx +++ b/src/components/ourProjects.tsx @@ -178,7 +178,7 @@ const SelectComponent = ({ className="grid w-full grid-cols-1 overflow-hidden rounded-[30px] shadow-2xl sm:rounded-[50px] md:grid-cols-12" >