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 () => {
|
||||
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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue