We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba6a103 commit fc22bd4Copy full SHA for fc22bd4
1 file changed
components/snippets/Title.js
@@ -5,12 +5,11 @@ export const TitleStyle = styled.h2`
5
props.blogTitle &&
6
`
7
align-self: flex-start;
8
- margin: 0 auto 1rem;
+ margin: ${props.adjustedTitle ? '0 auto 1rem 15rem' : '0 auto 1rem'};
9
width: 90%;
10
- max-width: $large-desktop-breakpoint;
+ max-width: 1440px;
11
min-height: 5rem;
12
- color: black;
13
- `};
+ `};
14
`;
15
16
const Title = ({ title, blogTitle }) => {
0 commit comments