From 0856896aff79573c9acdbbafa5f4becca9b3275f Mon Sep 17 00:00:00 2001 From: ItzCrazyKns <95534749+ItzCrazyKns@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:21:40 +0530 Subject: [PATCH] feat(settings): fix text size, enhance UI --- .../Settings/Sections/Models/AddModelDialog.tsx | 8 ++++---- .../Sections/Models/AddProviderDialog.tsx | 8 ++++---- .../Settings/Sections/Models/ModelProvider.tsx | 16 ++++++++-------- .../Settings/Sections/Models/ModelSelect.tsx | 4 ++-- .../Settings/Sections/Models/Section.tsx | 4 ++-- .../Sections/Models/UpdateProviderDialog.tsx | 6 +++--- src/components/Settings/SettingsDialogue.tsx | 2 +- src/components/Settings/SettingsField.tsx | 12 ++++++------ 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/components/Settings/Sections/Models/AddModelDialog.tsx b/src/components/Settings/Sections/Models/AddModelDialog.tsx index 7df98de..009e1f2 100644 --- a/src/components/Settings/Sections/Models/AddModelDialog.tsx +++ b/src/components/Settings/Sections/Models/AddModelDialog.tsx @@ -97,7 +97,7 @@ const AddModel = ({ >
-

+

Add new {type === 'chat' ? 'chat' : 'embedding'} model

@@ -115,7 +115,7 @@ const AddModel = ({ setModelName(e.target.value)} - className="w-full rounded-lg border border-light-200 dark:border-dark-200 bg-light-primary dark:bg-dark-primary px-4 py-3 text-sm text-black/80 dark:text-white/80 placeholder:text-black/40 dark:placeholder:text-white/40 focus-visible:outline-none focus-visible:border-light-300 dark:focus-visible:border-dark-300 transition-colors disabled:cursor-not-allowed disabled:opacity-60" + className="w-full rounded-lg border border-light-200 dark:border-dark-200 bg-light-primary dark:bg-dark-primary px-4 py-3 text-[13px] text-black/80 dark:text-white/80 placeholder:text-black/40 dark:placeholder:text-white/40 focus-visible:outline-none focus-visible:border-light-300 dark:focus-visible:border-dark-300 transition-colors disabled:cursor-not-allowed disabled:opacity-60" placeholder="e.g., GPT-4" type="text" required @@ -128,7 +128,7 @@ const AddModel = ({ setModelKey(e.target.value)} - className="w-full rounded-lg border border-light-200 dark:border-dark-200 bg-light-primary dark:bg-dark-primary px-4 py-3 text-sm text-black/80 dark:text-white/80 placeholder:text-black/40 dark:placeholder:text-white/40 focus-visible:outline-none focus-visible:border-light-300 dark:focus-visible:border-dark-300 transition-colors disabled:cursor-not-allowed disabled:opacity-60" + className="w-full rounded-lg border border-light-200 dark:border-dark-200 bg-light-primary dark:bg-dark-primary px-4 py-3 text-[13px] text-black/80 dark:text-white/80 placeholder:text-black/40 dark:placeholder:text-white/40 focus-visible:outline-none focus-visible:border-light-300 dark:focus-visible:border-dark-300 transition-colors disabled:cursor-not-allowed disabled:opacity-60" placeholder="e.g., gpt-4" type="text" required @@ -140,7 +140,7 @@ const AddModel = ({