gitbook评论区bug

This commit is contained in:
tangly1024.com
2023-07-13 10:17:24 +08:00
parent c5d62c1f3c
commit cd68988ee7

View File

@@ -76,7 +76,7 @@ const LayoutBase = (props) => {
</div> </div>
<div className='w-72 fixed left-0 bottom-0 z-20 bg-white'> <div className='w-72 fixed left-0 bottom-0 z-20 bg-white'>
<Footer {...props}/> <Footer {...props} />
</div> </div>
</div> </div>
@@ -179,7 +179,7 @@ const LayoutIndex = (props) => {
}) })
}, []) }, [])
return <LayoutBase {...props}/> return <LayoutBase {...props} />
} }
/** /**
@@ -189,7 +189,7 @@ const LayoutIndex = (props) => {
* @returns * @returns
*/ */
const LayoutPostList = (props) => { const LayoutPostList = (props) => {
return <LayoutBase {...props}/> return <LayoutBase {...props} />
} }
/** /**
@@ -213,9 +213,6 @@ const LayoutSlug = (props) => {
{/* Notion文章主体 */} {/* Notion文章主体 */}
{post && (<section id="article-wrapper" className="px-1"> {post && (<section id="article-wrapper" className="px-1">
<NotionPage post={post} /> <NotionPage post={post} />
</section>)}
<section>
{/* 分享 */} {/* 分享 */}
<ShareBar post={post} /> <ShareBar post={post} />
@@ -232,7 +229,7 @@ const LayoutSlug = (props) => {
<AdSlot /> <AdSlot />
<Comment frontMatter={post} /> <Comment frontMatter={post} />
</section> </section>)}
<TocDrawer {...props} /> <TocDrawer {...props} />
</div>} </div>}