mirror of
https://github.com/open-webui/open-webui
synced 2025-05-02 03:56:09 +00:00
refac
This commit is contained in:
parent
2722613cde
commit
5d2e725f81
@ -821,6 +821,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<textarea
|
<textarea
|
||||||
id="chat-input"
|
id="chat-input"
|
||||||
|
dir="auto"
|
||||||
bind:this={chatInputElement}
|
bind:this={chatInputElement}
|
||||||
class="scrollbar-hidden bg-transparent dark:text-gray-100 outline-hidden w-full pt-3 px-1 resize-none"
|
class="scrollbar-hidden bg-transparent dark:text-gray-100 outline-hidden w-full pt-3 px-1 resize-none"
|
||||||
placeholder={placeholder ? placeholder : $i18n.t('Send a Message')}
|
placeholder={placeholder ? placeholder : $i18n.t('Send a Message')}
|
||||||
|
@ -184,9 +184,9 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{:else if token.type === 'list'}
|
{:else if token.type === 'list'}
|
||||||
{#if token.ordered}
|
{#if token.ordered}
|
||||||
<ol start={token.start || 1}>
|
<ol start={token.start || 1} dir="auto">
|
||||||
{#each token.items as item, itemIdx}
|
{#each token.items as item, itemIdx}
|
||||||
<li dir="auto" class="text-start">
|
<li class="text-start">
|
||||||
{#if item?.task}
|
{#if item?.task}
|
||||||
<input
|
<input
|
||||||
class=" translate-y-[1px] -translate-x-1"
|
class=" translate-y-[1px] -translate-x-1"
|
||||||
@ -216,9 +216,9 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</ol>
|
</ol>
|
||||||
{:else}
|
{:else}
|
||||||
<ul>
|
<ul dir="auto">
|
||||||
{#each token.items as item, itemIdx}
|
{#each token.items as item, itemIdx}
|
||||||
<li dir="auto" class="text-start">
|
<li class="text-start">
|
||||||
{#if item?.task}
|
{#if item?.task}
|
||||||
<input
|
<input
|
||||||
class=" translate-y-[1px] -translate-x-1"
|
class=" translate-y-[1px] -translate-x-1"
|
||||||
|
Loading…
Reference in New Issue
Block a user