💄 style: improve provider modal height when creating custom provider (#9870)

Remove fixed height for create new provider modal

Co-authored-by: daryl saxton <admin@dylsxtn.com>
This commit is contained in:
EldestBard
2025-10-26 14:01:18 +08:00
committed by GitHub
parent dec137a21e
commit 55d92c0241

View File

@@ -18,8 +18,8 @@ import { Flexbox } from 'react-layout-kit';
import { useAiInfraStore } from '@/store/aiInfra/store';
import { CreateAiProviderParams } from '@/types/aiProvider';
import { CUSTOM_PROVIDER_SDK_OPTIONS } from '../customProviderSdkOptions';
import { KeyVaultsConfigKey, LLMProviderApiTokenKey, LLMProviderBaseUrlKey } from '../../const';
import { CUSTOM_PROVIDER_SDK_OPTIONS } from '../customProviderSdkOptions';
interface CreateNewProviderProps {
onClose?: () => void;
@@ -142,7 +142,6 @@ const CreateNewProvider = memo<CreateNewProviderProps>(({ onClose, open }) => {
return (
<FormModal
destroyOnHidden
height={'90%'}
items={[
{
children: basicItems,