added meta viewport to disable zoom on input focus on mobile (#2238)

pull/2211/head^2
Peer Richelsen 2022-03-22 11:03:31 +00:00 committed by GitHub
parent 9f2e71beae
commit 3c967ab280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class MyDocument extends Document<Props> {
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000" /> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000" />
<meta name="msapplication-TileColor" content="#ff0000" /> <meta name="msapplication-TileColor" content="#ff0000" />
<meta name="theme-color" content="#ffffff" /> <meta name="theme-color" content="#ffffff" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
</Head> </Head>
<body className="bg-gray-100 dark:bg-black"> <body className="bg-gray-100 dark:bg-black">
<Main /> <Main />