hexo 移动端适配侧边栏

This commit is contained in:
tangly1024
2022-03-17 22:01:56 +08:00
parent 1a142b072b
commit b1764d343a
3 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ export default function ArticleDetail ({ post, recommendPosts, prev, next }) {
<hr className='border-dashed'/>
{/* 评论互动 */}
<div className="duration-200 overflow-x-auto bg-white dark:bg-gray-800">
<div className="duration-200 overflow-x-auto bg-white dark:bg-gray-800 px-3">
<Comment frontMatter={post} />
</div>
</div>)

View File

@@ -19,7 +19,7 @@ export default function SideRight (props) {
} = props
return (
<div className={'w-80 space-y-4'}>
<div className={'md:w-80 p-2 space-y-4'}>
<InfoCard {...props}/>
<AnalyticsCard {...props}/>