forked from Mirrors/elk
fix(a11y): do not prevent arbitrary zooming on mobile devices (#1501)
This commit is contained in:
parent
4f23bebf2e
commit
ca65f7379e
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue