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
b19e0566
Commit
b19e0566
authored
May 01, 2024
by
Timothy J. Baek
Browse files
fix: styling
parent
35b5d5ba
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
src/lib/components/ChangelogModal.svelte
src/lib/components/ChangelogModal.svelte
+1
-1
src/lib/components/chat/SettingsModal.svelte
src/lib/components/chat/SettingsModal.svelte
+1
-1
src/routes/(app)/+layout.svelte
src/routes/(app)/+layout.svelte
+3
-2
src/routes/(app)/c/[id]/+page.svelte
src/routes/(app)/c/[id]/+page.svelte
+8
-3
No files found.
src/lib/components/ChangelogModal.svelte
View file @
b19e0566
...
...
@@ -22,7 +22,7 @@
</script>
<Modal bind:show>
<div class="px-5 py-4 dark:text-gray-300">
<div class="px-5 py-4 dark:text-gray-300
text-gray-700
">
<div class="flex justify-between items-start">
<div class="text-xl font-bold">
{$i18n.t('What’s New in')}
...
...
src/lib/components/chat/SettingsModal.svelte
View file @
b19e0566
...
...
@@ -35,7 +35,7 @@
</script>
<Modal bind:show>
<div>
<div
class="text-gray-700 dark:text-gray-100"
>
<div class=" flex justify-between dark:text-gray-300 px-5 pt-4 pb-1">
<div class=" text-lg font-medium self-center">{$i18n.t('Settings')}</div>
<button
...
...
src/routes/(app)/+layout.svelte
View file @
b19e0566
...
...
@@ -192,6 +192,8 @@
</div>
<ShortcutsModal bind:show={showShortcuts} />
<SettingsModal bind:show={$showSettings} />
<ChangelogModal bind:show={$showChangelog} />
<div class="app relative">
<div
...
...
@@ -292,8 +294,7 @@
{/if}
<Sidebar />
<SettingsModal bind:show={$showSettings} />
<ChangelogModal bind:show={$showChangelog} />
<slot />
{/if}
</div>
...
...
src/routes/(app)/c/[id]/+page.svelte
View file @
b19e0566
...
...
@@ -15,7 +15,8 @@
chatId
,
config
,
WEBUI_NAME
,
tags
as
_tags
tags
as
_tags
,
showSidebar
}
from
'$lib/stores'
;
import
{
copyToClipboard
,
splitStream
,
convertMessagesToHistory
}
from
'$lib/utils'
;
...
...
@@ -857,7 +858,11 @@
</svelte:head>
{#if loaded}
<div class="min-h-screen max-h-screen w-full flex flex-col">
<div
class="min-h-screen max-h-screen {$showSidebar
? '
max
-
w
-[
calc
(
100
%-
260
px
)]
'
: '
max
-
w
-
full
'} flex flex-col"
>
<Navbar
{title}
{chat}
...
...
@@ -875,7 +880,7 @@
/>
<div class="flex flex-col flex-auto">
<div
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0"
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0
max-w-full
"
id="messages-container"
bind:this={messagesContainerElement}
on:scroll={(e) => {
...
...
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