File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change @@ -3,10 +3,8 @@ import styled from "styled-components";
33export 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;
You can’t perform that action at this time.
0 commit comments