Skip to content

Commit

Permalink
fix: 解决移动端缩放问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeD3 committed Feb 17, 2023
1 parent e2ef915 commit cb4002e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ useHead({
{ rel: 'canonical', href: 'https://bytedream.top' },
],
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1, user-scalable=no, viewport-fit=cover, maximum-scale=1.0, minimum-scale=1.0' },
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black' },
{ name: 'apple-mobile-web-app-title', content: 'JueJin' },
Expand Down Expand Up @@ -76,6 +76,7 @@ if (process.client) {
html,
body,
#__nuxt {
overflow-x: initial;
font-size: 12px;
height: 100vh;
margin: 0;
Expand Down

0 comments on commit cb4002e

Please sign in to comment.