Skip to content

Commit 4d1f518

Browse files
committed
fix: make global style to native
1 parent 6e053d8 commit 4d1f518

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pages/_document.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ class MyDocument extends Document {
4343
}}
4444
></script>
4545
*/}
46+
<style>{`
47+
body {
48+
margin: 0px;
49+
font-family: sans-serif;
50+
line-height: 1.7;
51+
background-color: #fefefe;
52+
}
53+
`}</style>
4654
</Head>
4755
<body>
48-
<style jsx global>{`
49-
body {
50-
margin: 0px;
51-
font-family: sans-serif;
52-
line-height: 1.7;
53-
background-color: #fefefe;
54-
}
55-
`}</style>
5656
<Main />
5757
<NextScript />
5858
</body>

0 commit comments

Comments
 (0)