From d41e1b51b5f0392817b59a94a53480787ca14cba Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 27 Jun 2024 13:40:10 +0800 Subject: [PATCH] =?UTF-8?q?gitbook=20=E4=B8=BB=E9=A2=98=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/globals.css | 8 ++++++++ themes/gitbook/index.js | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/styles/globals.css b/styles/globals.css index 2b8f568f..bdc13fe9 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -264,3 +264,11 @@ a.avatar-wrapper { writing-mode: vertical-rl; /* 竖向排列从右向左 */ text-orientation: upright; /* 文字方向正常 */ } + +/* Chatbase 在移动端禁止遮挡 */ +@media (max-width: 700px) { + button#chatbase-bubble-button { + margin-bottom: 42px; + margin-right: 20px; + } +} diff --git a/themes/gitbook/index.js b/themes/gitbook/index.js index 0eefd49a..5d4255e1 100644 --- a/themes/gitbook/index.js +++ b/themes/gitbook/index.js @@ -129,7 +129,7 @@ const LayoutBase = props => {
+ className={`${siteConfig('FONT_STYLE')} pb-16 md:pb-0 scroll-smooth bg-white dark:bg-hexo-black-gray w-full h-full min-h-screen justify-center dark:text-gray-300`}> {/* 顶部导航栏 */}