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
d7520028
Commit
d7520028
authored
Jul 08, 2024
by
Timothy J. Baek
Browse files
refac: styling
parent
7df35d97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/lib/components/chat/Controls/Controls.svelte
src/lib/components/chat/Controls/Controls.svelte
+2
-2
src/lib/components/layout/Navbar.svelte
src/lib/components/layout/Navbar.svelte
+5
-5
No files found.
src/lib/components/chat/Controls/Controls.svelte
View file @
d7520028
...
...
@@ -29,14 +29,14 @@
<div>
<textarea
bind:value={params.system}
class="w-full rounded-lg px-4 py-3 text-sm dark:text-gray-300 dark:bg-gray-850 border dark:border-gray-800 outline-none resize-none"
class="w-full rounded-lg px-4 py-3 text-sm dark:text-gray-300 dark:bg-gray-850 border
border-gray-100
dark:border-gray-800 outline-none resize-none"
rows="3"
placeholder="Enter system prompt"
/>
</div>
</div>
<hr class="my-2 dark:border-gray-800" />
<hr class="my-2
border-gray-100
dark:border-gray-800" />
<div>
<div class="mb-1.5 font-medium">Advanced Params</div>
...
...
src/lib/components/layout/Navbar.svelte
View file @
d7520028
...
...
@@ -50,7 +50,7 @@
>
<button
id="sidebar-toggle-button"
class="cursor-pointer px-2 py-2 flex rounded-xl hover:bg-gray-
10
0 dark:hover:bg-gray-850 transition"
class="cursor-pointer px-2 py-2 flex rounded-xl hover:bg-gray-
5
0 dark:hover:bg-gray-850 transition"
on:click={() => {
showSidebar.set(!$showSidebar);
}}
...
...
@@ -82,7 +82,7 @@
}}
>
<button
class="hidden md:flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-
10
0 dark:hover:bg-gray-850 transition"
class="hidden md:flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-
5
0 dark:hover:bg-gray-850 transition"
id="chat-context-menu-button"
>
<div class=" m-auto self-center">
...
...
@@ -107,7 +107,7 @@
<Tooltip content={$i18n.t('Controls')}>
<button
class=" flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-
10
0 dark:hover:bg-gray-850 transition"
class=" flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-
5
0 dark:hover:bg-gray-850 transition"
on:click={() => {
showControls = !showControls;
}}
...
...
@@ -123,7 +123,7 @@
id="new-chat-button"
class=" flex {$showSidebar
? 'md:hidden'
: ''} cursor-pointer px-2 py-2 rounded-xl text-gray-600 dark:text-gray-400 hover:bg-gray-
10
0 dark:hover:bg-gray-850 transition"
: ''} cursor-pointer px-2 py-2 rounded-xl text-gray-600 dark:text-gray-400 hover:bg-gray-
5
0 dark:hover:bg-gray-850 transition"
on:click={() => {
initNewChat();
}}
...
...
@@ -157,7 +157,7 @@
}}
>
<button
class="select-none flex rounded-xl p-1.5 w-full hover:bg-gray-
10
0 dark:hover:bg-gray-850 transition"
class="select-none flex rounded-xl p-1.5 w-full hover:bg-gray-
5
0 dark:hover:bg-gray-850 transition"
aria-label="User Menu"
>
<div class=" self-center">
...
...
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