This commit is contained in:
tangly1024
2021-10-13 12:45:34 +08:00
parent 1d73dc6de1
commit 9156095a79
2 changed files with 30 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ const SideBar = ({ tags, currentTag, post }) => {
return <aside className='z-10 bg-white dark:border-gray-500 border-gray-200 hidden xl:block'>
<div className='dark:bg-gray-800 border-r dark:border-gray-700 h-full scroll-hidden left-0 duration-500 ease-in-out min-h-screen'>
<div className='hidden md:block sticky top-16'>
<div className={post ? 'hidden xl:block' : 'block'}>
<div className={post ? 'hidden 2xl:block' : 'block'}>
<MenuButtonGroup allowCollapse={true}/>
</div>
</div>