Skip to content

Commit

Permalink
Apply SectionHeaders styles to the IndicatorHighlightsList ListHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
lilia1891 committed Dec 12, 2024
1 parent 3997f52 commit b29ac04
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion components/indicators/IndicatorHighlightsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,16 @@ export const GET_INDICATOR_HIGHLIGHTS = gql`

const ListHeader = styled(Col)`
h2 {
text-align: center;
padding: ${(props) => props.theme.spaces.s100};
border-radius: ${(props) => props.theme.cardBorderRadius};
background-color: ${(props) => props.theme.themeColors.white};
color: ${(props) => props.theme.headingsColor};
margin-bottom: ${(props) => props.theme.spaces.s300};
font-size: ${(props) => props.theme.fontSizeLg};
@media (min-width: ${(props) => props.theme.breakpointMd}) {
font-size: ${(props) => props.theme.fontSizeXl};
margin-bottom: ${(props) => props.theme.spaces.s400};
}
`;

Expand Down

0 comments on commit b29ac04

Please sign in to comment.