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,9 +53,11 @@ const Animated = styled.div`
|
|||
|
||||
export default () => {
|
||||
return (
|
||||
<>' '<Global
|
||||
<React.fragment>
|
||||
<Global
|
||||
styles={css`
|
||||
html, body {
|
||||
html,
|
||||
body {
|
||||
padding: 3rem 1rem;
|
||||
margin: 0;
|
||||
background: papayawhip;
|
||||
|
@ -64,14 +66,17 @@ export default () => {
|
|||
font-size: 24px;
|
||||
}
|
||||
`}
|
||||
/>' '<Head>
|
||||
/>
|
||||
<Head>
|
||||
<title>With Emotion</title>
|
||||
</Head>' '<div>
|
||||
</Head>
|
||||
<div>
|
||||
<Basic>Cool Styles</Basic>
|
||||
<Combined>
|
||||
With <code>:hover</code>.
|
||||
</Combined>
|
||||
<Animated animation={bounce}>Let's bounce.</Animated>
|
||||
</div>' '</>
|
||||
</div>
|
||||
</React.fragment>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue