自适应

This commit is contained in:
tangly1024
2023-06-24 12:36:50 +08:00
parent 6a413fbdb2
commit 041c7977b6
2 changed files with 1 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ const LayoutBase = (props) => {
<main id='wrapper' className={(BLOG.LAYOUT_SIDEBAR_REVERSE ? 'flex-row-reverse' : '') + 'relative flex justify-between w-full h-full mx-auto'}>
{/* 左侧推拉抽屉 */}
<div style={{ width: '32rem' }} className={'font-sans hidden xl:block border-r dark:border-transparent relative z-10 '}>
<div style={{ width: '32rem' }} className={'font-sans hidden md:block border-r dark:border-transparent relative z-10 '}>
<div className='py-14 px-6 sticky top-0 overflow-y-scroll h-screen'>
{slotLeft}

View File

@@ -1,4 +1,3 @@
import Catalog from './Catalog'
import { useMediumGlobal } from '../LayoutBase'
import BlogPostListScroll from './BlogPostListScroll'