1
0
Fork 1
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:
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

View file

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