mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
hexo 移动端适配侧边栏
This commit is contained in:
@@ -47,7 +47,7 @@ const LayoutBase = (props) => {
|
||||
|
||||
<main id='wrapper' className='w-full justify-center py-8 min-h-screen'>
|
||||
|
||||
<div id='container-inner' className='pt-14 w-full mx-auto lg:flex justify-between space-x-4 max-w-7xl'>
|
||||
<div id='container-inner' className='pt-14 w-full mx-auto lg:flex justify-between md:space-x-4 max-w-7xl'>
|
||||
<div className='flex-grow w-full'>{children}</div>
|
||||
<SideRight {...props}/>
|
||||
</div>
|
||||
|
||||
@@ -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>)
|
||||
|
||||
@@ -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}/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user