Commit 8c64f062 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: styling

parent 53765257
...@@ -586,7 +586,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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) ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment