refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-02-03 20:13:14 -08:00
parent ebde5c47d9
commit 1c518ab688
2 changed files with 8 additions and 8 deletions

View File

@ -455,7 +455,7 @@
<div class="px-2.5">
<div
class="scrollbar-hidden text-left bg-transparent dark:text-gray-100 outline-none w-full pt-2.5 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-2.5 pb-1 px-1 rounded-xl resize-none h-fit max-h-80 overflow-auto"
>
<RichTextInput
bind:value={content}
@ -504,8 +504,8 @@
</div>
</div>
<div class=" flex justify-between">
<div class="ml-1 self-end mb-1.5 flex space-x-1">
<div class=" flex justify-between mb-2">
<div class="ml-1 self-end flex space-x-1">
<InputMenu
{screenCaptureHandler}
uploadFilesHandler={() => {
@ -531,7 +531,7 @@
</InputMenu>
</div>
<div class="self-end mb-1.5 flex space-x-1 mr-1">
<div class="self-end flex space-x-1 mr-1">
{#if content === ''}
<Tooltip content={$i18n.t('Record voice')}>
<button

View File

@ -868,7 +868,7 @@
<textarea
id="chat-input"
bind:this={chatInputElement}
class="scrollbar-hidden bg-transparent dark:text-gray-100 outline-none w-full pt-3 px-1 rounded-xl resize-none h-[48px]"
class="scrollbar-hidden bg-transparent dark:text-gray-100 outline-none w-full pt-3 pb-1 px-1 rounded-xl resize-none"
placeholder={placeholder ? placeholder : $i18n.t('Send a Message')}
bind:value={prompt}
on:keypress={(e) => {
@ -1059,8 +1059,8 @@
{/if}
</div>
<div class=" flex justify-between">
<div class="ml-1 self-end mb-1.5 gap-0.5 flex items-center">
<div class=" flex justify-between mb-2">
<div class="ml-1 self-end gap-0.5 flex items-center">
<InputMenu
bind:selectedToolIds
{screenCaptureHandler}
@ -1170,7 +1170,7 @@
{/if}
</div>
<div class="self-end mb-1.5 flex space-x-1 mr-1">
<div class="self-end flex space-x-1 mr-1">
{#if !history?.currentId || history.messages[history.currentId]?.done == true}
<Tooltip content={$i18n.t('Record voice')}>
<button