Skip to content

Commit

Permalink
docs: use monospace for fallback font of PT Mono (#4495)
Browse files Browse the repository at this point in the history
some styles are using monospace for fallback, but some styles are missing fallback.
  • Loading branch information
rinsuki authored and merceyz committed Sep 21, 2022
1 parent b1e6426 commit 8678eb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby/src/components/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const Content = styled.div`
color: #007aa2;
font-family: "PT Mono";
font-family: "PT Mono", monospace;
}
pre code {
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/src/components/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const MenuEntry = styled(Link)`
const Tag = styled.code`
color: #007aa2;
font-family: "PT Mono";
font-family: "PT Mono", monospace;
${ifDesktop} {
margin-left: auto;
Expand Down

0 comments on commit 8678eb8

Please sign in to comment.