Skip to content

Commit

Permalink
fix: LLMMulitWheel tool style adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
lixinghua123 committed Oct 23, 2024
1 parent 80d2239 commit eb763ac
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const LLMMultiWheelSourceView: React.FC<ILLMMultiWheelSourceViewProps> =
style={{
display: 'flex',
justifyContent: 'flex-end',
margin: '10px',
}}
>
<ToggleDataFormatType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { classnames } from '@/utils';
import { getClassName } from '@/utils/dom';
import { Layout } from 'antd/es';
import _ from 'lodash';
import { Resizable } from 're-resizable';
import React from 'react';
import Sidebar from '../sidebar';
import ToolFooter from '../toolFooter';
Expand Down Expand Up @@ -36,10 +37,21 @@ const LLMMultiWheelLayout: React.FC<AppProps & IProps> = (props) => {
/>
<ToolFooter style={props.style?.footer} mode={props.mode} footer={props?.footer} />
</Content>
<Sider className={`${layoutCls}__side`} width={600} style={{ position: 'relative' }}>
<Sidebar sider={props?.sider} checkMode={props?.checkMode} />
{props.drawLayerSlot?.({})}
</Sider>
<Resizable
defaultSize={{
width: 600,
}}
enable={{ left: true }}
>
<Sider
className={`${layoutCls}__side`}
width='100%'
style={{ position: 'relative', height: '100%' }}
>
<Sidebar sider={props?.sider} checkMode={props?.checkMode} />
{props.drawLayerSlot?.({})}
</Sider>
</Resizable>
</Layout>
);
};
Expand Down

0 comments on commit eb763ac

Please sign in to comment.