Fixed a problem in multi-byte env. Fixed an issue where the text inside the buttons in the API connection menu became vertically long and difficult to read in a multi-byte character environment.

97b4c069d8159ce118edaa1c9f4807737af5edaa

M0cho <77959408+M0ch0@users.noreply.github.com>

1 files changed, +7 -7Ignore whitespace
public/index.html+7 -7
@@ -1983,8 +1983,8 @@
19831983 KoboldCpp works better when you select the Text Completion API and then KoboldCpp as a type!
19841984 </div>
19851985 <div class="flex-container">
19861986 <div id="api_button" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect" data-server-connect="kobold">Connect</div>
19871987 <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div>
19881988 </div>
19891989 </div>
19901990 <div class="online_status">
@@ -2023,8 +2023,8 @@
20232023 <option value="kayra-v1">Kayra</option>
20242024 </select>
20252025 <div class="flex-container">
20262026 <div id="api_button_novel" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect">Connect</div>
20272027 <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div>
20282028 </div>
20292029 </form>
20302030 <div class="online_status">
@@ -2396,9 +2396,9 @@
23962396 </div>
23972397 </div>
23982398 <div class="flex-container">
23992399 <div id="api_button_textgenerationwebui" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect" data-server-connect="ooba_blocking,vllm,aphrodite,tabby,koboldcpp,ollama,llamacpp,huggingface">Connect</div>
24002400 <div data-tg-type="openrouter" class="menu_button menu_button_icon openrouter_authorize" title="Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai" data-i18n="Authorize;[title]Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai">Authorize</div>
24012401 <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div>
24022402 </div>
24032403 <label data-tg-type="ooba,aphrodite" class="checkbox_label margin-bot-10px" for="legacy_api_textgenerationwebui">
24042404 <input type="checkbox" id="legacy_api_textgenerationwebui" />
@@ -3033,7 +3033,7 @@
30333033 </div>
30343034 <div class="flex-container flex">
30353035 <div id="api_button_openai" class="api_button menu_button menu_button_icon" type="submit" data-i18n="Connect">Connect</div>
30363036 <div class="api_loading menu_button menu_button_icon" data-i18n="Cancel">Cancel</div>
30373037 <div data-source="custom" id="customize_additional_parameters" class="menu_button menu_button_icon" data-i18n="Additional Parameters">Additional Parameters</div>
30383038 <div data-source="openrouter" class="menu_button menu_button_icon openrouter_authorize" title="Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai" data-i18n="Authorize;[title]Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai">Authorize</div>
30393039 <div id="test_api_button" class="menu_button menu_button_icon" title="Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!" data-i18n="[title]Verifies your API connection by sending a short test message. Be aware that you'll be credited for it!"><span data-i18n="Test Message">Test Message</span></div>