+
diff --git a/themes/heo/index.js b/themes/heo/index.js
index 1a8f46e0..074fe1f5 100644
--- a/themes/heo/index.js
+++ b/themes/heo/index.js
@@ -39,7 +39,7 @@ import FloatTocButton from './components/FloatTocButton'
* @constructor
*/
const LayoutBase = props => {
- const { children, headerSlot, slotTop, slotRight, meta, siteInfo } = props
+ const { children, headerSlot, slotTop, slotRight, meta, siteInfo, className } = props
const { onLoading } = useGlobal()
// 加载主题样式
@@ -70,7 +70,7 @@ const LayoutBase = props => {
leave="transition ease-in-out duration-300 transform"
leaveFrom="opacity-100"
leaveTo="opacity-0 -translate-y-16"
- className='w-full h-auto'
+ className={`w-full h-auto px-5 lg:px-0 ${className || ''}`}
unmount={false}
>
{/* 主区上部嵌入 */}
diff --git a/themes/plog/components/SlideOvers.js b/themes/plog/components/SlideOvers.js
index 4df5d1f5..651758b0 100644
--- a/themes/plog/components/SlideOvers.js
+++ b/themes/plog/components/SlideOvers.js
@@ -12,8 +12,8 @@ export default function SlideOvers({ children, cRef }) {
const [open, setOpen] = useState(false)
const slideOversRef = useRef({})
/**
- * 函数组件暴露方法
- */
+ * 函数组件暴露方法
+ */
useImperativeHandle(cRef, () => ({
toggleSlideOvers: toggleSlideOvers
}))