Skip to content

Commit

Permalink
Merge pull request #76 from storybookjs/54-fix-bodyStyles
Browse files Browse the repository at this point in the history
Move remaining body styles to `bodyStyles`
  • Loading branch information
kylesuss authored Sep 11, 2019
2 parents 4f589d4 + a4b4dce commit eccc0ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/shared/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export const bodyStyles = css`
font-size: ${typography.size.s3}px;
color: ${color.darkest};
margin: 0;
overflow-y: auto;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
Expand Down Expand Up @@ -116,9 +120,5 @@ export const GlobalStyle = createGlobalStyle`
body {
${bodyStyles}
margin: 0;
overflow-y: auto;
overflow-x: hidden;
}
`;

0 comments on commit eccc0ec

Please sign in to comment.