This commit is contained in:
Timothy Jaeryang Baek
2025-04-06 16:57:36 -07:00
parent 5d2e725f81
commit 20211a489f
3 changed files with 19 additions and 3 deletions

View File

@@ -1033,7 +1033,7 @@
{/if}
</div>
<div class=" flex justify-between mt-1.5 mb-2.5 mx-0.5 max-w-full">
<div class=" flex justify-between mt-1.5 mb-2.5 mx-0.5 max-w-full" dir="ltr">
<div class="ml-1 self-end flex items-center flex-1 max-w-[80%] gap-0.5">
<InputMenu
bind:selectedToolIds

View File

@@ -211,7 +211,13 @@
};
const toggleChangeChatDirection = async () => {
chatDirection = chatDirection === 'LTR' ? 'RTL' : 'LTR';
if (chatDirection === 'auto') {
chatDirection = 'LTR';
} else if (chatDirection === 'LTR') {
chatDirection = 'RTL';
} else if (chatDirection === 'RTL') {
chatDirection = 'auto';
}
saveSettings({ chatDirection });
};
@@ -412,8 +418,10 @@
>
{#if chatDirection === 'LTR'}
<span class="ml-2 self-center">{$i18n.t('LTR')}</span>
{:else}
{:else if chatDirection === 'RTL'}
<span class="ml-2 self-center">{$i18n.t('RTL')}</span>
{:else}
<span class="ml-2 self-center">{$i18n.t('Auto')}</span>
{/if}
</button>
</div>