fix(a11y): do not prevent arbitrary zooming on mobile devices (#1501)

zio/stable
Roni Laukkarinen 2023-01-28 23:56:00 +02:00 committed by GitHub
parent 4f23bebf2e
commit ca65f7379e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -130,8 +130,7 @@ export default defineNuxtConfig({
app: {
keepalive: true,
head: {
// Prevent arbitrary zooming on mobile devices
viewport: 'width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover',
viewport: 'width=device-width,initial-scale=1',
bodyAttrs: {
class: 'overflow-x-hidden',
},