Refactor additionalClass parameter to be className for clarity

This commit is contained in:
kwaroran
2024-04-11 05:46:10 +09:00
parent 35af70f70f
commit 386129626f
9 changed files with 21 additions and 21 deletions

View File

@@ -624,10 +624,10 @@
{/if}
{#if currentChar.data.ttsMode === 'huggingface'}
<span class="text-textcolor">Model</span>
<TextInput additionalClass="mb-4 mt-2" bind:value={currentChar.data.hfTTS.model} />
<TextInput className="mb-4 mt-2" bind:value={currentChar.data.hfTTS.model} />
<span class="text-textcolor">Language</span>
<TextInput additionalClass="mb-4 mt-2" bind:value={currentChar.data.hfTTS.language} placeholder="en" />
<TextInput className="mb-4 mt-2" bind:value={currentChar.data.hfTTS.language} placeholder="en" />
{/if}
{#if currentChar.data.ttsMode === 'vits'}
{#if currentChar.data.vits}
@@ -693,8 +693,8 @@
<span class="text-textcolor">{language.depthPrompt}</span>
<div class="flex justify-center items-center">
<NumberInput size="sm" bind:value={currentChar.data.depth_prompt.depth} additionalClass="w-12"/>
<TextInput size="sm" bind:value={currentChar.data.depth_prompt.prompt} additionalClass="flex-1"/>
<NumberInput size="sm" bind:value={currentChar.data.depth_prompt.depth} className="w-12"/>
<TextInput size="sm" bind:value={currentChar.data.depth_prompt.prompt} className="flex-1"/>
</div>
<span class="text-textcolor mt-2">{language.altGreet}</span>