fix(a11y): do not prevent arbitrary zooming on mobile devices (#1501)
parent
4f23bebf2e
commit
ca65f7379e
|
@ -130,8 +130,7 @@ export default defineNuxtConfig({
|
||||||
app: {
|
app: {
|
||||||
keepalive: true,
|
keepalive: true,
|
||||||
head: {
|
head: {
|
||||||
// Prevent arbitrary zooming on mobile devices
|
viewport: 'width=device-width,initial-scale=1',
|
||||||
viewport: 'width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover',
|
|
||||||
bodyAttrs: {
|
bodyAttrs: {
|
||||||
class: 'overflow-x-hidden',
|
class: 'overflow-x-hidden',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue