diff --git a/src/components/Homepage/Event/index.tsx b/src/components/Homepage/Event/index.tsx index c6b7dfc..0177c31 100644 --- a/src/components/Homepage/Event/index.tsx +++ b/src/components/Homepage/Event/index.tsx @@ -21,7 +21,7 @@ const Event: () => JSX.Element = () => { ]; return ( - + {label} diff --git a/src/components/Homepage/UnitRecommendation/_SwiperButton.tsx b/src/components/Homepage/UnitRecommendation/_SwiperButton.tsx index d643caa..d00d224 100644 --- a/src/components/Homepage/UnitRecommendation/_SwiperButton.tsx +++ b/src/components/Homepage/UnitRecommendation/_SwiperButton.tsx @@ -34,7 +34,7 @@ const SwiperButton = ({ cursor="pointer" > diff --git a/src/components/Homepage/UnitShowcase/_Card.tsx b/src/components/Homepage/UnitShowcase/_Card.tsx index 94b6300..86f9e97 100644 --- a/src/components/Homepage/UnitShowcase/_Card.tsx +++ b/src/components/Homepage/UnitShowcase/_Card.tsx @@ -12,12 +12,16 @@ const Card = ({ img, label, onClick }: ICard) => ( bg="#FFFFFF" boxShadow="4px 9px 28px rgba(0, 0, 0, 0.25);" h={{ - base: '15em', - md: '22.5em' + base: '13em', + md: '14em', + lg: '18em', + xl: '20em' }} w={{ base: '12em', - md: '19.5em' + md: '12em', + lg: '16em', + xl: '18em' }} _hover={{ boxShadow: '4px 9px 28px rgba(0, 0, 0, 0.5);', @@ -33,14 +37,23 @@ const Card = ({ img, label, onClick }: ICard) => ( src={img} draggable="false" w={{ - base: '8em', - lg: '11em' + base: '5em', + md: '7em', + lg: '9em' }} borderTopRadius="10px" /> - + {label} diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index 823eac0..10d4788 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -43,6 +43,7 @@ const Footer = () => ( py={5} px={{ base: 5, md: 16 }} flexDirection={{ base: 'column', md: 'row' }} + overflowX="hidden" > diff --git a/src/components/common/sponsorMedpar/partner.tsx b/src/components/common/sponsorMedpar/partner.tsx index b7661cd..31686c3 100644 --- a/src/components/common/sponsorMedpar/partner.tsx +++ b/src/components/common/sponsorMedpar/partner.tsx @@ -25,7 +25,7 @@ const getSponsorHeight = (size: string) => { }; const Partner: React.FC = ({ partners }: Props) => ( - + {Object.keys(partners).map((key) => (