Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
c5c33aab
Commit
c5c33aab
authored
Jun 01, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
ef4af868
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
570 additions
and
579 deletions
+570
-579
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+11
-12
src/lib/components/chat/MessageInput.svelte
src/lib/components/chat/MessageInput.svelte
+557
-565
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+2
-2
No files found.
src/lib/components/chat/Chat.svelte
View file @
c5c33aab
...
...
@@ -1269,18 +1269,17 @@
/>
</div>
</div>
<MessageInput
bind:files
bind:prompt
bind:autoScroll
bind:webSearchEnabled
bind:atSelectedModel
{selectedModels}
{messages}
{submitPrompt}
{stopResponse}
/>
</div>
</div>
<MessageInput
bind:files
bind:prompt
bind:autoScroll
bind:webSearchEnabled
bind:atSelectedModel
{selectedModels}
{messages}
{submitPrompt}
{stopResponse}
/>
{/if}
src/lib/components/chat/MessageInput.svelte
View file @
c5c33aab
This diff is collapsed.
Click to expand it.
src/lib/components/chat/Messages.svelte
View file @
c5c33aab
...
...
@@ -242,7 +242,7 @@
};
</script>
<div class="h-full flex mb-
1
6">
<div class="h-full flex mb-6">
{#if messages.length == 0}
<Placeholder
modelIds={selectedModels}
...
...
@@ -285,7 +285,7 @@
<div class="w-full pt-2">
{#key chatId}
{#each messages as message, messageIdx}
<div class=" w-full {messageIdx === messages.length - 1 ? 'pb-2
8
' : ''}">
<div class=" w-full {messageIdx === messages.length - 1 ? '
pb-
1
2' : ''}">
<div
class="flex flex-col justify-between px-5 mb-3 {$settings?.fullScreenMode ?? null
? 'max-w-full'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment