1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Removes some quotes in with-emotion example (#5802)

There were some strange quotes and misaligned html on the page in the `with-emotion` example.
This commit is contained in:
Jeroen Knoops 2018-12-04 11:55:33 +01:00 committed by Tim Neutkens
parent dd3b5bf81d
commit fcae74c49d

View file

@ -53,25 +53,30 @@ const Animated = styled.div`
export default () => {
return (
<>' '<Global
styles={css`
html, body {
padding: 3rem 1rem;
margin: 0;
background: papayawhip;
min-height: 100%;
font-family: Helvetica, Arial, sans-serif;
font-size: 24px;
<React.fragment>
<Global
styles={css`
html,
body {
padding: 3rem 1rem;
margin: 0;
background: papayawhip;
min-height: 100%;
font-family: Helvetica, Arial, sans-serif;
font-size: 24px;
}
`}
/>' '<Head>
<title>With Emotion</title>
</Head>' '<div>
<Basic>Cool Styles</Basic>
<Combined>
/>
<Head>
<title>With Emotion</title>
</Head>
<div>
<Basic>Cool Styles</Basic>
<Combined>
With <code>:hover</code>.
</Combined>
<Animated animation={bounce}>Let's bounce.</Animated>
</div>' '</>
</Combined>
<Animated animation={bounce}>Let's bounce.</Animated>
</div>
</React.fragment>
)
}