last attempt to disable zooming in pwa (lol)

This commit is contained in:
corgifist 2025-07-25 03:06:40 +03:00
parent bf36d86a67
commit 6fb7005694

View File

@ -34,12 +34,12 @@ export default async function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<head> <head>
<meta name="apple-mobile-web-app-title" content="ClipFusion" /> <meta name="apple-mobile-web-app-title" content="ClipFusion" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="HandheldFriendly" content="true" /> <meta name="HandheldFriendly" content="true" />
<Analytics/> <Analytics/>
</head> </head>
<body className={`${geist.variable} ${geistMono.variable} antialiased`}> <body style={{touchAction: "pan-x pan-y"}} className={`${geist.variable} ${geistMono.variable} antialiased`}>
<ThemeProvider> <ThemeProvider>
<SidebarProvider> <SidebarProvider>
<Dashboard/> <Dashboard/>