live2d bug

This commit is contained in:
tangly1024
2022-03-22 17:09:22 +08:00
parent b438855e38
commit f013a4aef2
2 changed files with 6 additions and 2 deletions

View File

@@ -28,7 +28,11 @@ const LayoutBase = props => {
{/* 内容主体 */}
<main id="wrapper" className="flex justify-center flex-1 pb-12">
<div className="max-w-4xl px-3">{children}</div>
<div><Live2D/></div>
<div >
<div className='sticky top-0 z-40'>
<Live2D/>
</div>
</div>
</main>
<footer
className='font-sans dark:bg-gray-900 flex-shrink-0 justify-center text-center m-auto w-full leading-6 text-sm p-6'

View File

@@ -45,7 +45,7 @@ function AsideLeft (props) {
<section className='sticky top-0 pt-12'>
<Catalog toc={post?.toc}/>
<div className='flex justify-center'>
{slot}
<div>{slot}</div>
</div>
</section>
</div>