From 3ae44a9fb185b52deee6611cc2419843843eee31 Mon Sep 17 00:00:00 2001 From: faatima_abidi Date: Wed, 18 Dec 2024 23:18:47 -0500 Subject: [PATCH] Fixed the issue by adding the h3 css to the pageHeader component and fixed the header margin issue on the open source internship programs page Signed-off-by: faatima_abidi --- src/reusecore/PageHeader/pageHeader.style.js | 8 ++++++++ .../Careers/Careers-Programs-grid/ProgramGrid.style.js | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/reusecore/PageHeader/pageHeader.style.js b/src/reusecore/PageHeader/pageHeader.style.js index afa8d7f5827d..3eff8b7402d1 100644 --- a/src/reusecore/PageHeader/pageHeader.style.js +++ b/src/reusecore/PageHeader/pageHeader.style.js @@ -24,6 +24,14 @@ const PageHeaderWrapper = styled.div` } } + h3 { + color: ${(props) => props.theme.whiteSixToGreen3C494F}; + margin-top: 2rem; + padding: 0; + font-weight: 500; + text-align: center; + transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); + } } .feature-image{ diff --git a/src/sections/Careers/Careers-Programs-grid/ProgramGrid.style.js b/src/sections/Careers/Careers-Programs-grid/ProgramGrid.style.js index f520ef66df3c..a1eb588640af 100644 --- a/src/sections/Careers/Careers-Programs-grid/ProgramGrid.style.js +++ b/src/sections/Careers/Careers-Programs-grid/ProgramGrid.style.js @@ -1,7 +1,6 @@ import styled from "styled-components"; export const ProgramsPageWrapper = styled.div` - margin-top: -2rem; h1{ color: ${props => props.theme.text}; transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);