Skip to content

Commit

Permalink
fix: user profile page details responsive for mobile screen
Browse files Browse the repository at this point in the history
  • Loading branch information
MahendraDani committed Nov 24, 2023
1 parent 6023584 commit 3aea7fb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions src/screens/MemberDetail/MemberDetail.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@

.justifysp {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
/* gap : 2px; */
}

.flexclm {
Expand All @@ -126,8 +129,7 @@
.justifysp {
padding-left: 55px;
display: flex;
justify-content: space-between;
width: 100%;
justify-content: space-evenly;
}

.mainpageright {
Expand Down Expand Up @@ -355,12 +357,19 @@
}

.userImage {
width: 200px;
height: 200px;
width: 180px;
height: 180px;
object-fit: cover;
border-radius: 8px;
}

@media only screen and (max-width: 1200px) {
.userImage {
width: 100px;
height: 100px;
}
}

.activeBtn {
width: 100%;
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/screens/MemberDetail/MemberDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const MemberDetail: React.FC<MemberDetailProps> = ({ id }): JSX.Element => {
<Col sm={6} lg={8}>
{/* User section */}
<div>
<h2 className="mt-3 mb-4">
<h2>
<strong>
{userData?.user?.firstName} {userData?.user?.lastName}
</strong>
Expand Down

0 comments on commit 3aea7fb

Please sign in to comment.