From 9190aeccdf0f69e181167d193e2fad9f2b5110a2 Mon Sep 17 00:00:00 2001 From: chouchoui <14866249+chouchoui@users.noreply.github.com> Date: Wed, 1 Feb 2023 03:14:58 +0800 Subject: [PATCH] fix: viewport meta value for iOS PWA safe area (#1533) --- nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index be3a4886..79211532 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -149,7 +149,7 @@ export default defineNuxtConfig({ app: { keepalive: true, head: { - viewport: 'width=device-width,initial-scale=1', + viewport: 'width=device-width,initial-scale=1,viewport-fit=cover', bodyAttrs: { class: 'overflow-x-hidden', },