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
595ebd11
"examples/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "a5764016739676a55e5e10ae88e081ebf94d2a38"
Commit
595ebd11
authored
Apr 30, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
1157b8e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/lib/components/chat/MessageInput/Suggestions.svelte
src/lib/components/chat/MessageInput/Suggestions.svelte
+1
-1
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+1
-0
No files found.
src/lib/components/chat/MessageInput/Suggestions.svelte
View file @
595ebd11
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
{#each prompts as prompt, promptIdx}
{#each prompts as prompt, promptIdx}
<div class="shrink-0">
<div class="shrink-0">
<button
<button
class="flex flex-1 shrink-0 w-6
0
justify-between h-full px-
4
py-
2.5
bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 rounded-
2
xl transition group"
class="flex flex-1 shrink-0 w-6
4
justify-between h-full px-
5
py-
3
bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 rounded-
3
xl transition group"
on:click={() => {
on:click={() => {
submitPrompt(prompt.content);
submitPrompt(prompt.content);
}}
}}
...
...
src/lib/components/chat/Messages.svelte
View file @
595ebd11
...
@@ -291,6 +291,7 @@
...
@@ -291,6 +291,7 @@
chatTextAreaElement.style.height = '';
chatTextAreaElement.style.height = '';
chatTextAreaElement.style.height = Math.min(chatTextAreaElement.scrollHeight, 200) + 'px';
chatTextAreaElement.style.height = Math.min(chatTextAreaElement.scrollHeight, 200) + 'px';
chatTextAreaElement.focus();
}
}
}}
}}
/>
/>
...
...
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