File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const MemberSingle = ({ frontmatter }) => {
77
77
< div className = "name" > { name } </ div >
78
78
{ position && < div className = "position" > { position } </ div > }
79
79
</ div >
80
- < div className = "body" >
80
+ < div className = "info- body" >
81
81
{ location && (
82
82
< div className = "text location" >
83
83
< span className = "bold" > { location } </ span >
Original file line number Diff line number Diff line change @@ -3,10 +3,8 @@ import styled from "styled-components";
3
3
export const MemberSingleWrapper = styled . div `
4
4
margin: 4.5rem 0 3.125rem 0;
5
5
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;
10
8
11
9
.profile-header {
12
10
flex-direction: column;
@@ -18,7 +16,7 @@ export const MemberSingleWrapper = styled.div`
18
16
}
19
17
20
18
.member-details {
21
- flex-wrap: wrap !important ;
19
+ flex-wrap: wrap;
22
20
}
23
21
}
24
22
@@ -49,6 +47,10 @@ export const MemberSingleWrapper = styled.div`
49
47
color: ${ ( props ) => props . theme . primaryColor } ;
50
48
text-align: left;
51
49
font-weight: 400;
50
+
51
+ @media screen and (max-width: 62.5rem) {
52
+ text-align: center;
53
+ }
52
54
}
53
55
ul {
54
56
list-style: none;
@@ -58,7 +60,7 @@ export const MemberSingleWrapper = styled.div`
58
60
transition: 0.9s;
59
61
}
60
62
61
- .body {
63
+ .info- body {
62
64
display: block;
63
65
position: relative;
64
66
text-align: center;
You can’t perform that action at this time.
0 commit comments