refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-02-03 21:25:16 -08:00
parent 7e971f9dd1
commit a38ce75eda
2 changed files with 7 additions and 7 deletions

View File

@ -398,7 +398,7 @@
dir={$settings?.chatDirection ?? 'LTR'} dir={$settings?.chatDirection ?? 'LTR'}
> >
{#if files.length > 0} {#if files.length > 0}
<div class="mx-2 mt-2.5 flex flex-wrap gap-2"> <div class="mx-2 mt-2.5 -mb-1 flex flex-wrap gap-2">
{#each files as file, fileIdx} {#each files as file, fileIdx}
{#if file.type === 'image'} {#if file.type === 'image'}
<div class=" relative group"> <div class=" relative group">
@ -455,7 +455,7 @@
<div class="px-2.5"> <div class="px-2.5">
<div <div
class="scrollbar-hidden font-primary text-left bg-transparent dark:text-gray-100 outline-none w-full pt-2.5 pb-1 px-1 rounded-xl resize-none h-fit max-h-80 overflow-auto" class="scrollbar-hidden font-primary text-left bg-transparent dark:text-gray-100 outline-none w-full pt-3 pb-1.5 px-1 rounded-xl resize-none h-fit max-h-80 overflow-auto"
> >
<RichTextInput <RichTextInput
bind:value={content} bind:value={content}
@ -504,7 +504,7 @@
</div> </div>
</div> </div>
<div class=" flex justify-between mb-2"> <div class=" flex justify-between mb-2.5 mx-0.5">
<div class="ml-1 self-end flex space-x-1"> <div class="ml-1 self-end flex space-x-1">
<InputMenu <InputMenu
{screenCaptureHandler} {screenCaptureHandler}

View File

@ -589,7 +589,7 @@
dir={$settings?.chatDirection ?? 'LTR'} dir={$settings?.chatDirection ?? 'LTR'}
> >
{#if files.length > 0} {#if files.length > 0}
<div class="mx-2 mt-2.5 flex items-center flex-wrap gap-2"> <div class="mx-2 mt-2.5 -mb-1 flex items-center flex-wrap gap-2">
{#each files as file, fileIdx} {#each files as file, fileIdx}
{#if file.type === 'image'} {#if file.type === 'image'}
<div class=" relative group"> <div class=" relative group">
@ -680,7 +680,7 @@
<div class="px-2.5"> <div class="px-2.5">
{#if $settings?.richTextInput ?? true} {#if $settings?.richTextInput ?? true}
<div <div
class="scrollbar-hidden text-left bg-transparent dark:text-gray-100 outline-none w-full pt-2.5 pb-1 px-1 rounded-xl resize-none h-fit max-h-80 overflow-auto" class="scrollbar-hidden text-left bg-transparent dark:text-gray-100 outline-none w-full pt-3 pb-1.5 px-1 rounded-xl resize-none h-fit max-h-80 overflow-auto"
> >
<RichTextInput <RichTextInput
bind:this={chatInputElement} bind:this={chatInputElement}
@ -884,7 +884,7 @@
<textarea <textarea
id="chat-input" id="chat-input"
bind:this={chatInputElement} bind:this={chatInputElement}
class="scrollbar-hidden bg-transparent dark:text-gray-100 outline-none w-full pt-3 pb-1 px-1 rounded-xl resize-none" class="scrollbar-hidden bg-transparent dark:text-gray-100 outline-none w-full pt-3 pb-1.5 px-1 rounded-xl resize-none"
placeholder={placeholder ? placeholder : $i18n.t('Send a Message')} placeholder={placeholder ? placeholder : $i18n.t('Send a Message')}
bind:value={prompt} bind:value={prompt}
on:keypress={(e) => { on:keypress={(e) => {
@ -1075,7 +1075,7 @@
{/if} {/if}
</div> </div>
<div class=" flex justify-between mb-2"> <div class=" flex justify-between mb-2.5 mx-0.5">
<div class="ml-1 self-end gap-0.5 flex items-center"> <div class="ml-1 self-end gap-0.5 flex items-center">
<InputMenu <InputMenu
bind:selectedToolIds bind:selectedToolIds