Merge branch 'main' into 3.8.0

This commit is contained in:
tangly1024
2023-01-03 20:20:11 +08:00
21 changed files with 149 additions and 33 deletions

View File

@@ -6,6 +6,7 @@ import { Footer } from './components/Footer'
import { Title } from './components/Title'
import { SideBar } from './components/SideBar'
import JumpToTopButton from './components/JumpToTopButton'
import BLOG from '@/blog.config'
/**
* 基础布局 采用左右两侧布局,移动端使用顶部导航栏
@@ -28,7 +29,7 @@ const LayoutBase = props => {
<Title {...props} />
<div className="container mx-auto justify-center md:flex items-start py-8 px-2">
<div className={(BLOG.LAYOUT_SIDEBAR_REVERSE ? 'flex-row-reverse' : '') + ' container mx-auto justify-center md:flex items-start py-8 px-2'}>
<div className='w-full max-w-3xl xl:px-14 lg:px-4 '>{children}</div>