Skip to content

Commit fc22bd4

Browse files
committed
Fixed blog post container titles
1 parent ba6a103 commit fc22bd4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/snippets/Title.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ export const TitleStyle = styled.h2`
55
props.blogTitle &&
66
`
77
align-self: flex-start;
8-
margin: 0 auto 1rem;
8+
margin: ${props.adjustedTitle ? '0 auto 1rem 15rem' : '0 auto 1rem'};
99
width: 90%;
10-
max-width: $large-desktop-breakpoint;
10+
max-width: 1440px;
1111
min-height: 5rem;
12-
color: black;
13-
`};
12+
`};
1413
`;
1514

1615
const Title = ({ title, blogTitle }) => {

0 commit comments

Comments
 (0)