Merge pull request #1308 from alectrocute/add-user-scalable-no

Prevent dragging zoom on mobile
This commit is contained in:
SleeplessOne1917 2023-06-15 15:59:05 +00:00 committed by GitHub
commit f2d8c5e07b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -421,7 +421,7 @@ async function createSsrHtml(root: string, isoData: IsoDataOptionalSite) {
<!-- Required meta tags --> <!-- Required meta tags -->
<meta name="Description" content="Lemmy"> <meta name="Description" content="Lemmy">
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<link <link
id="favicon" id="favicon"
rel="shortcut icon" rel="shortcut icon"