mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
💄 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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user