Skip to content

Commit d41e1b5

Browse files
committed
gitbook 主题微调
1 parent 332a04d commit d41e1b5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

styles/globals.css

+8
Original file line numberDiff line numberDiff line change
@@ -264,3 +264,11 @@ a.avatar-wrapper {
264264
writing-mode: vertical-rl; /* 竖向排列从右向左 */
265265
text-orientation: upright; /* 文字方向正常 */
266266
}
267+
268+
/* Chatbase 在移动端禁止遮挡 */
269+
@media (max-width: 700px) {
270+
button#chatbase-bubble-button {
271+
margin-bottom: 42px;
272+
margin-right: 20px;
273+
}
274+
}

themes/gitbook/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const LayoutBase = props => {
129129

130130
<div
131131
id='theme-gitbook'
132-
className={`${siteConfig('FONT_STYLE')} scroll-smooth bg-white dark:bg-hexo-black-gray w-full h-full min-h-screen justify-center dark:text-gray-300`}>
132+
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`}>
133133
<AlgoliaSearchModal cRef={searchModal} {...props} />
134134

135135
{/* 顶部导航栏 */}

0 commit comments

Comments
 (0)