Skip to content

Commit a199d8c

Browse files
committed
fixed issue by modifying css of wrapper and using h3 for subtitle
Signed-off-by: faatima_abidi <[email protected]>
1 parent a237528 commit a199d8c

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/sections/Careers/Careers-Programs-grid/ProgramGrid.style.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
import styled from "styled-components";
22
export const ProgramsPageWrapper = styled.div`
3-
4-
margin-top: -2rem;
3+
4+
h3 {
5+
color: ${(props) => props.theme.whiteSixToGreen3C494F};
6+
margin: 0;
7+
padding: 0;
8+
font-weight: 500;
9+
text-align: center;
10+
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
11+
}
12+
513
h1{
614
color: ${props => props.theme.text};
715
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);

src/sections/Careers/Careers-Programs-grid/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ const ProgramsGrid = ({ hide_path, sub_section }) => {
5757

5858
return (
5959
<ProgramsPageWrapper>
60-
<PageHeader title="Open Source Internship Programs" subtitle="Build Your Career at Layer5" path={path} />
60+
<PageHeader className="title" title="Open Source Internship Programs" path={path} />
61+
<h3>Build Your Career at Layer5</h3>
6162
<div className={sub_section ? "sub-header_wrapper" : "programs-page-wrapper"}>
6263
<Container>
6364
<div className="program-grid-wrapper">

0 commit comments

Comments
 (0)