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
65d6d220
Commit
65d6d220
authored
Feb 24, 2024
by
Timothy J. Baek
Browse files
fix: styling
parent
8b38724b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
21 deletions
+5
-21
src/app.css
src/app.css
+2
-2
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+3
-19
No files found.
src/app.css
View file @
65d6d220
...
@@ -37,8 +37,8 @@ math {
...
@@ -37,8 +37,8 @@ math {
}
}
::-webkit-scrollbar
{
::-webkit-scrollbar
{
height
:
0.4
5
rem
;
height
:
0.4rem
;
width
:
0.
35
rem
;
width
:
0.
4
rem
;
}
}
::-webkit-scrollbar-track
{
::-webkit-scrollbar-track
{
...
...
src/lib/components/layout/Sidebar.svelte
View file @
65d6d220
...
@@ -367,27 +367,11 @@
...
@@ -367,27 +367,11 @@
: ''} transition whitespace-nowrap text-ellipsis"
: ''} transition whitespace-nowrap text-ellipsis"
href="/c/{chat.id}"
href="/c/{chat.id}"
>
>
<div class=" flex self-center flex-1">
<div class=" flex self-center flex-1 w-full">
<div class=" self-center mr-3">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-4 h-4"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 011.037-.443 48.282 48.282 0 005.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"
/>
</svg>
</div>
<div
<div
class=" text-left self-center overflow-hidden {chat.id === $chatId
class=" text-left self-center overflow-hidden {chat.id === $chatId
? 'w-[1
2
0px]'
? 'w-[1
6
0px]'
: 'w-
[180px]
'} "
: 'w-
full
'} "
>
>
{#if chatTitleEditId === chat.id}
{#if chatTitleEditId === chat.id}
<input bind:value={chatTitle} class=" bg-transparent w-full" />
<input bind:value={chatTitle} class=" bg-transparent 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