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

This commit is contained in:
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

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