优化终端

This commit is contained in:
2025-08-15 01:17:53 +08:00
parent b940cfd70d
commit 830f6e42a8
7 changed files with 178 additions and 69 deletions

View File

@@ -104,10 +104,10 @@ export const FlexLayoutContainer: React.FC<FlexLayoutContainerProps> = ({
key={panel.id}
className={cn(
'relative h-full',
isMain ? 'flex-1 min-w-0' : 'overflow-hidden',
isMain ? 'flex-1 min-w-0 w-full overflow-hidden' : 'overflow-hidden',
panel.className
)}
style={!isMain ? { width, flexShrink: 0 } : undefined}
style={!isMain ? { width, flexShrink: 0 } : { width: '100%' }}
>
{panel.content}

View File

@@ -14,7 +14,7 @@ export const MainContentArea: React.FC<MainContentAreaProps> = ({
}) => {
return (
<div className={cn(
'h-full w-full flex flex-col',
'h-full w-full flex flex-col overflow-hidden',
'bg-background',
isEditing && 'relative',
className