diff --git a/AppImage/app/layout.tsx b/AppImage/app/layout.tsx index 0fcdcb1f..1f13d3e9 100644 --- a/AppImage/app/layout.tsx +++ b/AppImage/app/layout.tsx @@ -1,5 +1,5 @@ import type React from "react" -import type { Metadata } from "next" +import type { Metadata, Viewport } from "next" import { GeistSans } from "geist/font/sans" import { GeistMono } from "geist/font/mono" import { ThemeProvider } from "../components/theme-provider" @@ -20,7 +20,13 @@ export const metadata: Metadata = { shortcut: "/favicon.ico", apple: [{ url: "/apple-touch-icon.png", sizes: "180x180", type: "image/png" }], }, - viewport: "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no", +} + +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, + maximumScale: 1, + userScalable: false, themeColor: [ { media: "(prefers-color-scheme: light)", color: "#ffffff" }, { media: "(prefers-color-scheme: dark)", color: "#2b2f36" }, diff --git a/AppImage/components/proxmox-dashboard.tsx b/AppImage/components/proxmox-dashboard.tsx index c2ec2ed6..d473a845 100644 --- a/AppImage/components/proxmox-dashboard.tsx +++ b/AppImage/components/proxmox-dashboard.tsx @@ -492,7 +492,7 @@ export function ProxmoxDashboard() {