From 55c680b1d002053ad5f2e27ff1e1bd1e77e4f124 Mon Sep 17 00:00:00 2001
From: Thomas Ruoff
Date: Sat, 19 Jun 2021 00:47:42 +0200
Subject: [PATCH] set lang and turn on hyphens
---
pages/_document.tsx | 17 +++++++++++++++++
styles/index.css | 1 +
2 files changed, 18 insertions(+)
create mode 100644 pages/_document.tsx
diff --git a/pages/_document.tsx b/pages/_document.tsx
new file mode 100644
index 0000000..c12e323
--- /dev/null
+++ b/pages/_document.tsx
@@ -0,0 +1,17 @@
+import Document, { Html, Head, Main, NextScript } from 'next/document'
+
+class MyDocument extends Document {
+ render() {
+ return (
+
+
+
+
+
+
+
+ )
+ }
+}
+
+export default MyDocument
diff --git a/styles/index.css b/styles/index.css
index 3e93913..3c0640d 100644
--- a/styles/index.css
+++ b/styles/index.css
@@ -15,6 +15,7 @@
.main {
@apply flex-grow sm:w-10/12 sm:m-auto p-4 sm:p-6;
+ hyphens: auto;
}
.form {