fix(css): apply workaround for chrome bug (#146)

This commit is contained in:
Joe Haddad
2021-01-06 15:01:07 -05:00
committed by GitHub
parent eedfdc0a10
commit b6f80b7245
3 changed files with 41 additions and 1 deletions

23
pages/_document.tsx Normal file
View File

@@ -0,0 +1,23 @@
import Document, {
DocumentContext,
Head,
Html,
Main,
NextScript,
} from 'next/document'
class MyDocument extends Document {
render() {
return (
<Html>
<Head />
<body className="loading">
<Main />
<NextScript />
</body>
</Html>
)
}
}
export default MyDocument