提交 fcae74c4 编写于 作者: J Jeroen Knoops 提交者: Tim Neutkens

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

There were some strange quotes and misaligned html on the page in the `with-emotion` example.
上级 dd3b5bf8
......@@ -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>
)
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册