Skip to content

Commit

Permalink
Move viewport meta tag to _app.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
viliket committed Sep 9, 2023
1 parent 68b7f2b commit 6da62f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default function App({ Component, pageProps }: AppPropsWithLayout) {
name="description"
content="Junien aikataulut, sijainnit, ja kokoonpanot reaaliajassa"
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Head>
<ServiceWorkerUpdatePrompt />
<SwitchLanguage />
Expand Down
1 change: 0 additions & 1 deletion src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default function Document() {
<Head>
<meta charSet="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="light dark" />
<meta
name="theme-color"
Expand Down

0 comments on commit 6da62f9

Please sign in to comment.