diff --git a/client/src/common/types.ts b/client/src/common/types.ts index d8f408ab87..e574e90d89 100644 --- a/client/src/common/types.ts +++ b/client/src/common/types.ts @@ -1,4 +1,5 @@ import { FileSources } from 'librechat-data-provider'; +import type * as InputNumberPrimitive from 'rc-input-number'; import type { ColumnDef } from '@tanstack/react-table'; import type { SetterOrUpdater } from 'recoil'; import type { @@ -115,6 +116,8 @@ export type TSetExample = ( newValue: number | string | boolean | null, ) => void; +export type OnInputNumberChange = InputNumberPrimitive.InputNumberProps['onChange']; + export const defaultDebouncedDelay = 450; export enum ESide { diff --git a/client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx b/client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx index 9022b7e202..6fd0e0a310 100644 --- a/client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx +++ b/client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx @@ -49,9 +49,9 @@ const EditPresetDialog = ({ title={`${localize('com_ui_edit') + ' ' + localize('com_endpoint_preset')} - ${ preset?.title }`} - className="h-full max-w-full overflow-y-auto pb-4 sm:w-[680px] sm:pb-0 md:h-[720px] md:w-[750px] md:overflow-y-hidden lg:w-[950px] xl:h-[720px]" + className="h-full max-w-full overflow-y-auto pb-4 sm:w-[680px] sm:pb-0 md:h-[720px] md:w-[750px] md:overflow-y-hidden md:overflow-y-hidden lg:w-[950px] xl:h-[720px]" main={ -