This commit is contained in:
2026-01-22 23:47:42 +08:00
parent 7cf734dd5b
commit 5e5f56fc9a
8 changed files with 90 additions and 568 deletions

View File

@@ -8,7 +8,7 @@ import { useEffect, useLayoutEffect, useState } from 'react';
import { LayoutUser } from './LayoutUser';
import { PandaPNG } from '@/assets/index.tsx';
import QRCodePNG from '@/assets/qrcode-8x8.jpg';
import { Panel, PanelGroup } from 'react-resizable-panels';
import { Panel, Group as PanelGroup } from 'react-resizable-panels';
import clsx from 'clsx';
import { Button, Menu, MenuItem } from '@mui/material';
import i18n from 'i18next';
@@ -187,7 +187,7 @@ export const LayoutMain = (props: LayoutMainProps) => {
style={{
height: 'calc(100vh - 3rem)',
}}>
<PanelGroup className='w-full h-full panel-layout' autoSaveId='editor-layout-main' direction='horizontal'>
<PanelGroup className='w-full h-full panel-layout' >
<Panel style={{ height: '100%' }}>
<div className='h-full overflow-hidden'>
<div className='w-full h-full rounded-lg text-text-primary'>