From 504d938488c474abc6e0b5e92132019fc7efb0c1 Mon Sep 17 00:00:00 2001 From: Tianzhou Chen Date: Sun, 21 May 2023 01:50:49 +0800 Subject: [PATCH] chore: misc dark mode fix --- src/components/OpenAIApiConfigView.tsx | 6 +++--- src/components/QuotaView.tsx | 2 +- src/pages/setting/index.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/OpenAIApiConfigView.tsx b/src/components/OpenAIApiConfigView.tsx index a70ae9a..b45fac7 100644 --- a/src/components/OpenAIApiConfigView.tsx +++ b/src/components/OpenAIApiConfigView.tsx @@ -74,7 +74,7 @@ const OpenAIApiConfigView = () => { <>
- +

{t("setting.openai-api-configuration.model-description")}

@@ -91,7 +91,7 @@ const OpenAIApiConfigView = () => {
- +

{t("setting.openai-api-configuration.key-description")}

{ />
- +

{t("setting.openai-api-configuration.endpoint-description")}

{
{t("common.quota")}
-
= quota.limit ? "text-red-600" : "text-black"}> +
= quota.limit ? "text-red-600" : "text-black dark:text-gray-300"}> {quota.current}/{quota.limit}
diff --git a/src/pages/setting/index.tsx b/src/pages/setting/index.tsx index 2efb8ce..2c0621e 100644 --- a/src/pages/setting/index.tsx +++ b/src/pages/setting/index.tsx @@ -174,7 +174,7 @@ const SettingPage: NextPage = () => {
{router.query.session_id && } -
+