fix: viewport meta value for iOS PWA safe area (#1533)

zio/stable
chouchoui 2023-02-01 03:14:58 +08:00 committed by GitHub
parent 611b6bece7
commit 9190aeccdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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',
},