mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-08 07:26:47 +00:00
style: 优化文章边距
This commit is contained in:
@@ -34,7 +34,7 @@ export default function ArticleDetail(props) {
|
|||||||
data-aos-duration="300"
|
data-aos-duration="300"
|
||||||
data-aos-once="true"
|
data-aos-once="true"
|
||||||
data-aos-anchor-placement="top-bottom"
|
data-aos-anchor-placement="top-bottom"
|
||||||
className="subpixel-antialiased overflow-y-hidden py-10 px-5 lg:pt-24 md:px-24 dark:border-gray-700 bg-white dark:bg-hexo-black-gray"
|
className="subpixel-antialiased overflow-y-hidden py-10 px-5 lg:pt-24 md:px-24 dark:border-gray-700 bg-white dark:bg-hexo-black-gray article-padding"
|
||||||
>
|
>
|
||||||
|
|
||||||
{showArticleInfo && <header>
|
{showArticleInfo && <header>
|
||||||
@@ -78,7 +78,7 @@ export default function ArticleDetail(props) {
|
|||||||
</header>}
|
</header>}
|
||||||
|
|
||||||
{/* Notion内容主体 */}
|
{/* Notion内容主体 */}
|
||||||
<article className='px-1 max-w-3xl mx-auto'>
|
<article className='mx-auto'>
|
||||||
{post && (<NotionPage post={post} />)}
|
{post && (<NotionPage post={post} />)}
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,10 @@ const Style = () => {
|
|||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.article-padding {
|
||||||
|
padding: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
`}</style>
|
`}</style>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user