diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 2b8b1d1..bbce39b 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -11,7 +11,15 @@ export default defineUserConfig({ head: [ // 设置 favor.ico,.vuepress/public 下 [ - 'link', {rel: 'icon', href: 'https://cdn.liteyuki.icu/favicon.ico'} + 'link', {rel: 'icon', href: 'https://cdn.liteyuki.icu/favicon.ico'}, + + ], + [ + "meta", + { + name: "viewport", + content: "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no", + }, ] ], diff --git a/docs/.vuepress/styles/config.scss b/docs/.vuepress/styles/config.scss index ed2e278..96bd843 100644 --- a/docs/.vuepress/styles/config.scss +++ b/docs/.vuepress/styles/config.scss @@ -2,3 +2,6 @@ $colors: #c0392b, #d35400, #f39c12, #27ae60, #16a085, #2980b9, #8e44ad, #2c3e50, #7f8c8d !default; +body { + overflow-x: hidden; +} \ No newline at end of file