From f745cb22d9693e667f04341b2522181aae6fb36d Mon Sep 17 00:00:00 2001 From: zaidmukaddam Date: Fri, 9 Aug 2024 23:12:35 +0530 Subject: [PATCH] chore: Update layout.tsx with viewport configuration --- app/layout.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/layout.tsx b/app/layout.tsx index 5373c10..01c9723 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,5 +1,5 @@ import "./globals.css"; -import { Metadata } from "next"; +import { Metadata, Viewport } from "next"; import { Toaster } from "sonner"; import { Inter, Instrument_Serif } from 'next/font/google'; import { Analytics } from "@vercel/analytics/react"; @@ -19,6 +19,14 @@ const inter = Inter({ subsets: ["latin"], }) +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, + minimumScale: 1, + maximumScale: 1, + userScalable: false, +} + const instrumentSerif = Instrument_Serif({ weight: "400", subsets: ["latin"],