set lang and turn on hyphens

This commit is contained in:
Thomas Ruoff
2021-06-19 00:47:42 +02:00
parent 8ebda7f541
commit 55c680b1d0
2 changed files with 18 additions and 0 deletions

17
pages/_document.tsx Normal file
View File

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

View File

@@ -15,6 +15,7 @@
.main { .main {
@apply flex-grow sm:w-10/12 sm:m-auto p-4 sm:p-6; @apply flex-grow sm:w-10/12 sm:m-auto p-4 sm:p-6;
hyphens: auto;
} }
.form { .form {