OpenWrite适配所有主题

This commit is contained in:
tangly1024.com
2024-09-05 12:13:07 +08:00
parent 218d1fa37e
commit c351b76c13
15 changed files with 953 additions and 757 deletions

View File

@@ -224,9 +224,7 @@ const LayoutSlug = props => {
<>
{lock && <ArticleLock validPassword={validPassword} />}
<div
id='article-wrapper'
className={`px-2 ${fullWidth ? '' : 'xl:max-w-4xl 2xl:max-w-6xl'}`}>
<div className={`px-2 ${fullWidth ? '' : 'xl:max-w-4xl 2xl:max-w-6xl'}`}>
{/* 文章信息 */}
<ArticleInfo post={post} />
@@ -234,8 +232,10 @@ const LayoutSlug = props => {
{/* <AdSlot type={'in-article'} /> */}
<WWAds orientation='horizontal' className='w-full' />
{/* Notion文章主体 */}
{!lock && <NotionPage post={post} />}
<div id='article-wrapper'>
{/* Notion文章主体 */}
{!lock && <NotionPage post={post} />}
</div>
{/* 分享 */}
<ShareBar post={post} />