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
74a3900a
Commit
74a3900a
authored
Feb 15, 2024
by
Timothy J. Baek
Browse files
refac
parent
2c2c2fd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/routes/(app)/+page.svelte
src/routes/(app)/+page.svelte
+5
-2
No files found.
src/routes/(app)/+page.svelte
View file @
74a3900a
...
@@ -791,7 +791,7 @@
...
@@ -791,7 +791,7 @@
<Navbar {title} shareEnabled={messages.length > 0} {initNewChat} {tags} {addTag} {deleteTag} />
<Navbar {title} shareEnabled={messages.length > 0} {initNewChat} {tags} {addTag} {deleteTag} />
<div class="flex flex-col flex-auto">
<div class="flex flex-col flex-auto">
<div
<div
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-
8
0"
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0"
id="messages-container"
id="messages-container"
on:scroll={(e) => {
on:scroll={(e) => {
autoScroll = e.target.scrollHeight - e.target.scrollTop <= e.target.clientHeight + 50;
autoScroll = e.target.scrollHeight - e.target.scrollTop <= e.target.clientHeight + 50;
...
@@ -802,7 +802,10 @@
...
@@ -802,7 +802,10 @@
? 'max-w-full'
? 'max-w-full'
: 'max-w-2xl md:px-0'} mx-auto w-full px-4"
: 'max-w-2xl md:px-0'} mx-auto w-full px-4"
>
>
<ModelSelector bind:selectedModels disabled={messages.length > 0} />
<ModelSelector
bind:selectedModels
disabled={messages.length > 0 && !selectedModels.includes('')}
/>
</div>
</div>
<div class=" h-full w-full flex flex-col py-8">
<div class=" h-full w-full flex flex-col py-8">
...
...
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