mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: styling
This commit is contained in:
parent
5376525777
commit
8c64f0627c
@ -586,7 +586,7 @@
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<form
|
<form
|
||||||
dir={$settings?.chatDirection}
|
dir={$settings?.chatDirection ?? 'LTR'}
|
||||||
class=" flex flex-col relative w-full rounded-3xl px-1.5 bg-gray-50 dark:bg-gray-850 dark:text-gray-100"
|
class=" flex flex-col relative w-full rounded-3xl px-1.5 bg-gray-50 dark:bg-gray-850 dark:text-gray-100"
|
||||||
on:submit|preventDefault={() => {
|
on:submit|preventDefault={() => {
|
||||||
submitPrompt(prompt, user);
|
submitPrompt(prompt, user);
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
currentMessageId
|
currentMessageId
|
||||||
].model === model
|
].model === model
|
||||||
? 'outline-gray-200 dark:outline-gray-700 outline-2'
|
? 'outline-gray-200 dark:outline-gray-700 outline-2'
|
||||||
: 'outline-gray-100 dark:outline-gray-850 '} transition p-6 rounded-3xl"
|
: 'outline-gray-100 dark:outline-gray-850 '} transition p-5 rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
currentMessageId = groupedMessages[model].messages[groupedMessagesIdx[model]].id;
|
currentMessageId = groupedMessages[model].messages[groupedMessagesIdx[model]].id;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
export let src = '/user.png';
|
export let src = '/user.png';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class={$settings?.chatDirection === 'LTR' ? 'mr-3' : 'ml-3'}>
|
<div class={($settings?.chatDirection ?? 'LTR') === 'LTR' ? 'mr-3' : 'ml-3'}>
|
||||||
<img
|
<img
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous"
|
||||||
src={src.startsWith(WEBUI_BASE_URL) ||
|
src={src.startsWith(WEBUI_BASE_URL) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user