diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 94a12276..5860a8bf 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,4 +1,4 @@ -import type { Metadata } from "next"; +import type { Metadata, Viewport } from "next"; import { Lora, Inter, Geist_Mono } from "next/font/google"; import { Providers } from "./providers"; import { NavBar } from "../components/NavBar"; @@ -29,6 +29,12 @@ const appDescription = "Tokenise your story from day 1. Publish plots, drive trading, earn royalties from every trade — powered by the market, not a platform."; const themeColor = "#E8DFD0"; +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, + viewportFit: "cover", +}; + export const metadata: Metadata = { metadataBase: new URL(appUrl), title: appName, diff --git a/src/components/MobileActionBar.tsx b/src/components/MobileActionBar.tsx index d58fd69b..a32c16ad 100644 --- a/src/components/MobileActionBar.tsx +++ b/src/components/MobileActionBar.tsx @@ -33,7 +33,7 @@ export function MobileActionBar({ {/* Bottom sheet */} {open && ( -