Skip to content

Commit 504dccc

Browse files
committed
fix responsive style bugs on diff screen sizes
1 parent 6ea8b83 commit 504dccc

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

components/containers/Card/styles.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const Card = styled.div`
4343
&:first-child,
4444
&:last-child {
4545
margin: 1.5rem 0.5rem 0 0.5rem;
46+
${props => (props.$cardType === 'blog' ? Blog : '')}
4647
}
4748
`)}
4849
@@ -62,6 +63,7 @@ const Title = styled.h2`
6263
6364
${m.tablet(css`
6465
font-size: 2.25rem;
66+
${props => (props.$cardType === 'our-goals' ? AboutUsTitle : '')}
6567
`)}
6668
6769
//check props for button variations
@@ -112,6 +114,10 @@ const TagContainer = styled.div`
112114
const AboutUs = css`
113115
background-color: ${$primaryAccentColor};
114116
max-height: 35rem;
117+
118+
${m.desktop(css`
119+
max-height: 37rem;
120+
`)}
115121
`;
116122

117123
const AboutUsTitle = css`

components/containers/Row/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Row = styled.div`
1515
`;
1616

1717
const AlignLeft = css`
18-
justify-content: left;
18+
justify-content: left !important;
1919
`;
2020

2121
export default { Row };

components/containers/TwoColumn/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const OurProcessInnerImageWrapper = styled(InnerImageWrapper)`
108108
109109
//media query mixins
110110
${m.desktop(css`
111-
height: height: 12rem;
111+
height: 12rem;
112112
`)}
113113
`;
114114

0 commit comments

Comments
 (0)