Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
docs: Better styling for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Feb 27, 2020
1 parent fcaa327 commit d9c6415
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/gatsby-theme-docz/wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,22 @@ const GlobalStyle = createGlobalStyle`
border: 0;
vertical-align: baseline;
}
body {
font-family: 'Open Sans', sans-serif;
}
div[data-testid="playground"] {
margin-bottom: 22px !important;
}
div[data-testid="live-preview"] {
padding: 22px;
}
`;

const Content = styled.div`
font-family: 'Open Sans', sans-serif;
font-size: ${p => p.theme.globals.typeScale.m};
line-height: ${p => p.theme.globals.lineHeight};
`;
Expand Down

0 comments on commit d9c6415

Please sign in to comment.