Skip to content

Commit 948d216

Browse files
committed
Fix: Update
Signed-off-by: Varad Gupta <[email protected]>
1 parent e0d7663 commit 948d216

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/sections/Community/Member-single/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const MemberSingle = ({ frontmatter }) => {
7777
<div className="name">{name}</div>
7878
{position && <div className="position">{position}</div>}
7979
</div>
80-
<div className="body">
80+
<div className="info-body">
8181
{location && (
8282
<div className="text location">
8383
<span className="bold">{location}</span>

src/sections/Community/Member-single/memberSingle.style.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ import styled from "styled-components";
33
export const MemberSingleWrapper = styled.div`
44
margin: 4.5rem 0 3.125rem 0;
55
6-
@media screen and (max-width: 1000px) {
7-
.page-heading {
8-
text-align: center !important;
9-
}
6+
@media screen and (max-width: 62.5rem) {
7+
margin: 1rem 0 3.125rem 0;
108
119
.profile-header {
1210
flex-direction: column;
@@ -18,7 +16,7 @@ export const MemberSingleWrapper = styled.div`
1816
}
1917
2018
.member-details {
21-
flex-wrap: wrap !important;
19+
flex-wrap: wrap;
2220
}
2321
}
2422
@@ -49,6 +47,10 @@ export const MemberSingleWrapper = styled.div`
4947
color: ${(props) => props.theme.primaryColor};
5048
text-align: left;
5149
font-weight: 400;
50+
51+
@media screen and (max-width: 62.5rem) {
52+
text-align: center;
53+
}
5254
}
5355
ul {
5456
list-style: none;
@@ -58,7 +60,7 @@ export const MemberSingleWrapper = styled.div`
5860
transition: 0.9s;
5961
}
6062
61-
.body {
63+
.info-body {
6264
display: block;
6365
position: relative;
6466
text-align: center;

0 commit comments

Comments
 (0)