From 03cade8bd519a73019b703b5d745b95a02547a69 Mon Sep 17 00:00:00 2001 From: Wentao Lyu <35-wentao.lyu@users.noreply.git.stereye.tech> Date: Wed, 5 Apr 2023 21:21:31 +0800 Subject: [PATCH] fix: input style fix: use ChatGptBrowser --- client/src/style.css | 14 ++++++++++++++ client/src/utils/cleanupPreset.js | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/client/src/style.css b/client/src/style.css index b5acb381d0..9ca7c65c92 100644 --- a/client/src/style.css +++ b/client/src/style.css @@ -32,6 +32,20 @@ overflow-y: overlay; } +.overflow-x-auto { + overflow-x: overlay; +} + +.reset-rc-number-input input { + width: 100%; + border: none !important; + background: transparent; +} + +.reset-rc-number-input-text-right input { + text-align: right; +} + .openAIOptions-simple-container { pointer-events: none; opacity: 0; diff --git a/client/src/utils/cleanupPreset.js b/client/src/utils/cleanupPreset.js index e80076ed16..8b9ae2ee91 100644 --- a/client/src/utils/cleanupPreset.js +++ b/client/src/utils/cleanupPreset.js @@ -25,7 +25,7 @@ const cleanupPreset = ({ preset: _preset, endpointsFilter = {} }) => { toneStyle: _preset?.toneStyle ?? 'fast', title: _preset?.title ?? 'New Preset' }; - } else if (endpoint === 'chatGPT') { + } else if (endpoint === 'chatGPTBrowser') { preset = { endpoint, presetId: _preset?.presetId ?? null,