This repository was archived by the owner on Jan 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed
Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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+
5660interface 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 }
Original file line number Diff line number Diff line change 11import React from "react" ;
22import { track , tracking } from "../../../utils/tracking" ;
33import { MenuItem } from "../molecules/menu-item" ;
4- import { Container } from "../atoms/container" ;
54import styled , { css } from "styled-components" ;
5+ import { Container } from "../atoms/container" ;
66
77const MenuContainer = styled . div `
88 background-color : ${ ( props ) => props . theme . light . primaryColor } ;
Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ import { Footer } from "../organism/footer";
99import { WindowLocation } from "@reach/router" ;
1010
1111const 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
1617interface BlogPageProps {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { syntax } from "./design-system/atoms/syntax";
88export 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 ] } ;
You can’t perform that action at this time.
0 commit comments