mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-05 00:19:59 +00:00
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