Skip to content

Commit

Permalink
Merge pull request #995 from dev-launchers/Jingwei/915-Circularize_th…
Browse files Browse the repository at this point in the history
…e_profile_card

I've reviewed the code – merging into main user-profile branch
  • Loading branch information
judeamos committed Apr 4, 2023
2 parents 5afed32 + e24ef2a commit 827d8e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const UserProfileImage = ({ img, created_at }) => {

return (
<Wrapper>
<ProfilePicture width={250} height={250} src={img} />
<ProfilePicture width={266} height={266} src={img} />
<p> {`Member Since ${year}`}</p>
</Wrapper>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ export const Wrapper = styled.div`
}
`;
export const ProfilePicture = styled.img`
height: auto;
border-radius: 50%;
@media (orientation: portrait) {
width: 50%;
width: 128px;
height: 128px;
}
`;
export const Name = styled.div``;
Expand Down

0 comments on commit 827d8e0

Please sign in to comment.