File tree Expand file tree Collapse file tree 4 files changed +32
-9
lines changed Expand file tree Collapse file tree 4 files changed +32
-9
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const MemberSingle = ({ frontmatter }) => {
46
46
< MemberSingleWrapper >
47
47
< Container >
48
48
< div >
49
- < Row >
49
+ < Row className = "profile-header" >
50
50
< Col xs = { 12 } sm = { 12 } lg = { 6 } >
51
51
< div className = "backBtn" >
52
52
< Link to = "/community/members" >
@@ -59,8 +59,8 @@ const MemberSingle = ({ frontmatter }) => {
59
59
< h1 className = "page-heading" > Layer5 Community Member</ h1 >
60
60
</ Col >
61
61
</ Row >
62
- < Row >
63
- < Col $xs = { 12 } $sm = { 12 } $lg = { 6 } >
62
+ < Row className = "member-details" >
63
+ < Col $xs = { 12 } $sm = { 12 } $lg = { 6 } className = "profile-image-col" >
64
64
< Image
65
65
className = {
66
66
status . includes ( "Inactive" )
@@ -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 @@ -2,12 +2,27 @@ import styled from "styled-components";
2
2
3
3
export const MemberSingleWrapper = styled . div `
4
4
margin: 4.5rem 0 3.125rem 0;
5
+
6
+ @media screen and (max-width: 62.5rem) {
7
+ margin: 1rem 0 3.125rem 0;
8
+
9
+ .profile-header {
10
+ flex-direction: column;
11
+ margin-bottom: 1.5rem;
12
+ }
13
+
14
+ .profile-image-col {
15
+ text-align: center;
16
+ }
17
+
18
+ .member-details {
19
+ flex-wrap: wrap;
20
+ }
21
+ }
22
+
5
23
.backBtn {
6
24
font-weight: 600;
7
25
margin-bottom: 1rem;
8
- @media screen and (max-width: 62rem) {
9
- display: none;
10
- }
11
26
a {
12
27
display: flex;
13
28
color: ${ ( props ) => props . theme . primaryColor } ;
@@ -32,6 +47,10 @@ export const MemberSingleWrapper = styled.div`
32
47
color: ${ ( props ) => props . theme . primaryColor } ;
33
48
text-align: left;
34
49
font-weight: 400;
50
+
51
+ @media screen and (max-width: 62.5rem) {
52
+ text-align: center;
53
+ }
35
54
}
36
55
ul {
37
56
list-style: none;
@@ -41,7 +60,7 @@ export const MemberSingleWrapper = styled.div`
41
60
transition: 0.9s;
42
61
}
43
62
44
- .body {
63
+ .info- body {
45
64
display: block;
46
65
position: relative;
47
66
text-align: center;
Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ const Navigation = () => {
326
326
changeDropdownState ( ) ;
327
327
closeDropDown ( ) ;
328
328
} }
329
- className = "mobile-sub-menu-item"
329
+ className = { subItems . sepLine ? "mobile-sub-menu-item" : "mobile-nested-menu" }
330
330
activeClassName = "nav-link-active"
331
331
>
332
332
{ subItems . name }
Original file line number Diff line number Diff line change @@ -648,6 +648,10 @@ const NavigationWrap = styled.header`
648
648
.mobile-sub-menu-item {
649
649
font-size: 1.1rem;
650
650
}
651
+ .mobile-nested-menu {
652
+ font-size: 1.1rem;
653
+ margin-left: 1rem;
654
+ }
651
655
}
652
656
653
657
.nav-link-active {
You can’t perform that action at this time.
0 commit comments