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