From 6dffb0f581aada3e6b1d01aa960c0ca2c4b098cd Mon Sep 17 00:00:00 2001 From: snowy Date: Thu, 28 Mar 2024 13:37:17 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20vuepress=E6=9E=84=E5=BB=BA=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.ts | 10 +++++++++- docs/.vuepress/styles/config.scss | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 2b8b1d13..bbce39bd 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 ed2e2781..96bd8438 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