Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 141005e

Browse files
committed
Starting the test phase 🚀
1 parent 525eda7 commit 141005e

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

src/components/design-system/atoms/container-fullscreen.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const ContainerFullscreen = styled.div`
66
align-items: center;
77
flex-direction: column;
88
height: 100vh;
9+
min-height: 100vh;
910
width: 100%;
1011
background-color: ${(props) => props.theme.light.primaryColor};
1112

src/components/design-system/molecules/post-card.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ const PostCardLink = styled(StandardInternalLink)`
5353
}
5454
`;
5555

56+
const PostCardTitle = styled(Heading5)`
57+
word-wrap: break-word;
58+
`;
59+
5660
interface PostCardProps {
5761
slug: string;
5862
title: string;
@@ -85,7 +89,7 @@ export const PostCard: React.FC<PostCardProps> = ({
8589
);
8690
}}
8791
>
88-
<Heading5>{title}</Heading5>
92+
<PostCardTitle>{title}</PostCardTitle>
8993
<PostCardImageContainer>
9094
<GatsbyImage
9195
alt={title}

src/components/design-system/organism/menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from "react";
22
import { track, tracking } from "../../../utils/tracking";
33
import { MenuItem } from "../molecules/menu-item";
4-
import { Container } from "../atoms/container";
54
import styled, { css } from "styled-components";
5+
import { Container } from "../atoms/container";
66

77
const MenuContainer = styled.div`
88
background-color: ${(props) => props.theme.light.primaryColor};

src/components/design-system/templates/blog-page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ import { Footer } from "../organism/footer";
99
import { WindowLocation } from "@reach/router";
1010

1111
const BlogContainer = styled(Container)`
12-
margin-top: ${(props) => props.theme.spacing[12]};
13-
flex: 1 0 auto;
12+
width: 90%;
13+
padding: 0;
14+
margin: ${(props) => props.theme.spacing[12]} auto auto;
1415
`;
1516

1617
interface BlogPageProps {

src/components/post-content.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { syntax } from "./design-system/atoms/syntax";
88
export const PostContentContainer = styled.div`
99
color: ${(props) => props.theme.light.primaryTextColor};
1010
line-height: ${(props) => props.theme.lineHeight};
11+
word-break: break-word;
1112
1213
& ul li {
1314
font-size: ${(props) => props.theme.fontSizes[2]};

0 commit comments

Comments
 (0)