Merge pull request #206 from tangly1024/preview

hexo: 右侧栏调整
This commit is contained in:
tangly1024
2022-04-26 17:01:27 +08:00
committed by GitHub
2 changed files with 2 additions and 4 deletions

View File

@@ -67,9 +67,7 @@ const LayoutBase = props => {
<div className="w-full">
{onLoading ? <LoadingCover /> : children}
</div>
<div className='xl:w-96 xl:pt-0 xl:px-2 pt-4'>
<SideRight {...props} slot={rightAreaSlot} />
</div>
<SideRight {...props} slot={rightAreaSlot} />
</div>
</main>

View File

@@ -13,7 +13,7 @@ export default function SideRight(props) {
} = props
return (
<div className={'space-y-4'}>
<div className={'space-y-4 xl:w-96 xl:pt-0 xl:px-2 pt-4'}>
<InfoCard {...props} />
{CONFIG_HEXO.WIDGET_ANALYTICS && <AnalyticsCard {...props} />}