mirror of
https://github.com/open-webui/open-webui
synced 2025-05-24 14:54:33 +00:00
refac: styling
This commit is contained in:
parent
ebde5c47d9
commit
1c518ab688
@ -455,7 +455,7 @@
|
|||||||
|
|
||||||
<div class="px-2.5">
|
<div class="px-2.5">
|
||||||
<div
|
<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
|
<RichTextInput
|
||||||
bind:value={content}
|
bind:value={content}
|
||||||
@ -504,8 +504,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" flex justify-between">
|
<div class=" flex justify-between mb-2">
|
||||||
<div class="ml-1 self-end mb-1.5 flex space-x-1">
|
<div class="ml-1 self-end flex space-x-1">
|
||||||
<InputMenu
|
<InputMenu
|
||||||
{screenCaptureHandler}
|
{screenCaptureHandler}
|
||||||
uploadFilesHandler={() => {
|
uploadFilesHandler={() => {
|
||||||
@ -531,7 +531,7 @@
|
|||||||
</InputMenu>
|
</InputMenu>
|
||||||
</div>
|
</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 === ''}
|
{#if content === ''}
|
||||||
<Tooltip content={$i18n.t('Record voice')}>
|
<Tooltip content={$i18n.t('Record voice')}>
|
||||||
<button
|
<button
|
||||||
|
@ -868,7 +868,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 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')}
|
placeholder={placeholder ? placeholder : $i18n.t('Send a Message')}
|
||||||
bind:value={prompt}
|
bind:value={prompt}
|
||||||
on:keypress={(e) => {
|
on:keypress={(e) => {
|
||||||
@ -1059,8 +1059,8 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" flex justify-between">
|
<div class=" flex justify-between mb-2">
|
||||||
<div class="ml-1 self-end mb-1.5 gap-0.5 flex items-center">
|
<div class="ml-1 self-end gap-0.5 flex items-center">
|
||||||
<InputMenu
|
<InputMenu
|
||||||
bind:selectedToolIds
|
bind:selectedToolIds
|
||||||
{screenCaptureHandler}
|
{screenCaptureHandler}
|
||||||
@ -1170,7 +1170,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</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}
|
{#if !history?.currentId || history.messages[history.currentId]?.done == true}
|
||||||
<Tooltip content={$i18n.t('Record voice')}>
|
<Tooltip content={$i18n.t('Record voice')}>
|
||||||
<button
|
<button
|
||||||
|
Loading…
Reference in New Issue
Block a user