fix: input style

fix: use ChatGptBrowser
This commit is contained in:
Wentao Lyu 2023-04-05 21:21:31 +08:00
parent 22b9524ad3
commit 03cade8bd5
2 changed files with 15 additions and 1 deletions

View file

@ -32,6 +32,20 @@
overflow-y: overlay; 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 { .openAIOptions-simple-container {
pointer-events: none; pointer-events: none;
opacity: 0; opacity: 0;

View file

@ -25,7 +25,7 @@ const cleanupPreset = ({ preset: _preset, endpointsFilter = {} }) => {
toneStyle: _preset?.toneStyle ?? 'fast', toneStyle: _preset?.toneStyle ?? 'fast',
title: _preset?.title ?? 'New Preset' title: _preset?.title ?? 'New Preset'
}; };
} else if (endpoint === 'chatGPT') { } else if (endpoint === 'chatGPTBrowser') {
preset = { preset = {
endpoint, endpoint,
presetId: _preset?.presetId ?? null, presetId: _preset?.presetId ?? null,