Skip to content

Commit 3752037

Browse files
committed
fix contributions mobile layout
1 parent 9e31caf commit 3752037

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/profile/[login]/components/profile-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type ProfileCardProps = {
1515
};
1616

1717
export const ProfileCard: FC<ProfileCardProps> = ({ children, className }) => {
18-
return <Card className={cn('w-full border-2 p-3 md:p-4 shadow-none md:shadow-sm gap-4', className)}>{children}</Card>;
18+
return <Card className={cn('w-full border-2 p-3 md:p-4 shadow-sm gap-4', className)}>{children}</Card>;
1919
};
2020

2121
type ProfileCardHeaderProps = {

app/profile/[login]/repositories/components/contribution-repository-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const ContributionRepositoryCard: FC<RepositoryCardProps> = ({
4646
</Badge>
4747
}
4848
login={login}
49-
className="md:border-0 md:border-b-1 last:md:border-b-0 p-4 pl-0 md:pl-0 md:rounded-none"
49+
className="border-0 border-b-1 last:border-b-0 p-4 pl-0 md:pl-0 rounded-none shadow-none"
5050
/>
5151
);
5252
};

0 commit comments

Comments
 (0)