fix(mcp): prevent wizard height jump when switching types

- Add min-h-[400px] to form fields container
- Ensures consistent height between stdio and http modes
- Eliminates visual jump when toggling between types
This commit is contained in:
Jason
2025-10-11 10:15:40 +08:00
parent 5013d3b4c9
commit 42329d4dce

View File

@@ -209,7 +209,7 @@ const McpWizardModal: React.FC<McpWizardModalProps> = ({
</div>
{/* Form Fields */}
<div className="space-y-4">
<div className="space-y-4 min-h-[400px]">
{/* Type */}
<div>
<label className="mb-2 block text-sm font-medium text-gray-900 dark:text-gray-100">