Skip to content

Commit dd3b72f

Browse files
committed
fix: media Resources not in center issue
Signed-off-by: Amit Amrutiya <[email protected]>
1 parent 4f6290b commit dd3b72f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/sections/Company/News-grid/press.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,24 @@ const PressWrapper = styled.div`
1616
padding: 2rem 0;
1717
background: ${props => props.theme.secondaryLightColor};
1818
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
19+
.heading {
20+
display: flex;
21+
justify-content: center;
22+
}
23+
1924
h2{
2025
text-align: center;
2126
border-top: 4px solid #00b39f;
2227
border-bottom: 4px solid #00b39f;
23-
margin: 1rem 40% 2rem;
28+
margin: 1rem 0 2rem 0;
2429
padding: 1rem 0;
30+
max-width: 12rem;
2531
}
2632
h4, h5{
2733
text-align: center;
2834
}
2935
30-
.press_card {
36+
.press_card {
3137
background: ${props => props.theme.grey212121ToWhite};
3238
transition: 450ms all;
3339
height: 15rem;
@@ -66,7 +72,9 @@ const Press = () => {
6672
return (
6773
<PressWrapper>
6874
<Container>
69-
<h2>Media Resources</h2>
75+
<div className="heading">
76+
<h2>Media Resources</h2>
77+
</div>
7078
<h4>For any press or analyst inquiries, please reach out:</h4>
7179
<Row>
7280
<Col xs={12} md={4}>

0 commit comments

Comments
 (0)