File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
src/sections/Company/News-grid Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,24 @@ const PressWrapper = styled.div`
16
16
padding: 2rem 0;
17
17
background: ${ props => props . theme . secondaryLightColor } ;
18
18
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
19
+ .heading {
20
+ display: flex;
21
+ justify-content: center;
22
+ }
23
+
19
24
h2{
20
25
text-align: center;
21
26
border-top: 4px solid #00b39f;
22
27
border-bottom: 4px solid #00b39f;
23
- margin: 1rem 40% 2rem;
28
+ margin: 1rem 0 2rem 0 ;
24
29
padding: 1rem 0;
30
+ max-width: 12rem;
25
31
}
26
32
h4, h5{
27
33
text-align: center;
28
34
}
29
35
30
- .press_card {
36
+ .press_card {
31
37
background: ${ props => props . theme . grey212121ToWhite } ;
32
38
transition: 450ms all;
33
39
height: 15rem;
@@ -66,7 +72,9 @@ const Press = () => {
66
72
return (
67
73
< PressWrapper >
68
74
< Container >
69
- < h2 > Media Resources</ h2 >
75
+ < div className = "heading" >
76
+ < h2 > Media Resources</ h2 >
77
+ </ div >
70
78
< h4 > For any press or analyst inquiries, please reach out:</ h4 >
71
79
< Row >
72
80
< Col xs = { 12 } md = { 4 } >
You can’t perform that action at this time.
0 commit comments