chore: move scroll-smooth to document

This commit is contained in:
Timothy Lin committed 2021-12-27 16:46:49 +08:00
1 parent 5d311e2587
commit ad93cf6242
2 files changed
+1 -5

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import Document, { Html, Head, Main, NextScript } from 'next/document'
class MyDocument extends Document {
render() {
return (
<Html lang="en">
<Html lang="en" className="scroll-smooth">
<Head>
<link rel="apple-touch-icon" sizes="76x76" href="/static/favicons/apple-touch-icon.png" />
<link