Static GitHub Issues

[2162] a css problem when running in mobile

prev: Cannot find module '@std/esm'
next: Suggestion: server middleware watch and restart in dev mode

When I visit my page on mobile, the <html> tag width cannot full screen, see the image:

problem

It seems html width is always 784px when the mobile screen less than 784px. (ps: I deleted { name: 'viewport', content: 'width=device-width, initial-scale=1' } in nuxt.config.js file)

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1912">#c1912</a>)</em></sub></div>