mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
style: 优化文章边距
This commit is contained in:
@@ -34,7 +34,7 @@ export default function ArticleDetail(props) {
|
||||
data-aos-duration="300"
|
||||
data-aos-once="true"
|
||||
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>
|
||||
@@ -78,7 +78,7 @@ export default function ArticleDetail(props) {
|
||||
</header>}
|
||||
|
||||
{/* Notion内容主体 */}
|
||||
<article className='px-1 max-w-3xl mx-auto'>
|
||||
<article className='mx-auto'>
|
||||
{post && (<NotionPage post={post} />)}
|
||||
</article>
|
||||
|
||||
|
||||
@@ -15,6 +15,10 @@ const Style = () => {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.article-padding {
|
||||
padding: 40px;
|
||||
}
|
||||
|
||||
`}</style>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user