aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-07-14 12:18:30 +0200
committerlonkaars <loek@pipeframe.xyz>2021-07-14 12:18:30 +0200
commit42934719833f2ca775f5ef4b753bde531256f01b (patch)
treeeada92d9a1ca770704e4c3394e63b3f7a33f03e2
parente2876ea3b4180798fdce142e9a7077d5856e6076 (diff)
hyphenate
-rw-r--r--pages/_app.tsx1
-rw-r--r--styles/globals.css1
2 files changed, 2 insertions, 0 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx
index f9cf556..119d817 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -23,6 +23,7 @@ export default function Blog({ Component, pageProps }) {
return <>
<Head>
+ <html lang='en-US' />
<link rel='preload' as='style' href='/font/font.css' onLoad={() => this.rel = 'stylesheet'} />
<meta property='og:url' content='https://blog.pipeframe.xyz' />
<meta property='og:type' content='website' />
diff --git a/styles/globals.css b/styles/globals.css
index b195485..57282f4 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -6,6 +6,7 @@ html, body {
color: var(--fg);
font-family: "Inter", sans-serif;
+ hyphens: auto;
}
code { font-family: "JetBrainsMono", monospace; }