Skip to content

Commit d1ddb59

Browse files
committed
fix(about): use column layout on team member cards on mobile
- Improves responsiveness of the 'Team' section on mobile layout. - Adjust horizontal margins in 'Team' section to be flush with remainder of page on mobile layout.
1 parent 5dad403 commit d1ddb59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/frontend/src/modules/shared/components/TeamMemberCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const TeamMemberCard = ({
1515
children: string;
1616
}) => {
1717
return (
18-
<div className='flex flex-row gap-8 items-center'>
18+
<div className='flex flex-col md:flex-row gap-2 md:gap-8 items-start'>
1919
<picture className='w-full max-w-fit'>
2020
<Image
2121
src={`/img/authors/${img}`}
@@ -45,7 +45,7 @@ export const TeamMemberCard = ({
4545

4646
export const Team = ({ children }: { children: React.ReactNode }) => {
4747
return (
48-
<section className='flex flex-col gap-8 mt-10 mx-8 mb-16'>
48+
<section className='flex flex-col gap-8 mt-10 mx-0 md:mx-8 mb-16'>
4949
{children}
5050
</section>
5151
);

0 commit comments

Comments
 (0)