Skip to content

Commit 7919123

Browse files
committed
feat: Improves UI appearance
1 parent 0b71fdf commit 7919123

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tools/server/webui/src/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
}
4343

4444
.dark {
45-
--background: oklch(0.155 0 0);
45+
--background: oklch(0.160 0 0);
4646
--foreground: oklch(0.985 0 0);
4747
--card: oklch(0.205 0 0);
4848
--card-foreground: oklch(0.985 0 0);

tools/server/webui/src/lib/components/app/chat/ChatSidebar/ChatSidebar.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
}
4949
</script>
5050

51-
<ScrollArea class="h-[100vh] px-4">
52-
<Sidebar.Header class="pb-2 pt-4 md:sticky top-0 bg-sidebar z-10 gap-6">
51+
<ScrollArea class="h-[100vh]">
52+
<Sidebar.Header class=" px-4 pb-2 pt-4 md:sticky top-0 bg-sidebar/50 backdrop-blur-lg z-10 gap-6">
5353
<a href="/" onclick={handleMobileSidebarItemClick}>
54-
<h1 class="inline-flex items-center gap-1 text-xl font-semibold">llama.cpp</h1>
54+
<h1 class="inline-flex items-center gap-1 text-xl font-semibold px-2">llama.cpp</h1>
5555
</a>
5656

5757
<ChatSidebarActions
@@ -61,7 +61,7 @@
6161
/>
6262
</Sidebar.Header>
6363

64-
<Sidebar.Group class="space-y-2 mt-4 p-0">
64+
<Sidebar.Group class="space-y-2 mt-4 p-0 px-4">
6565
{#if (filteredConversations.length > 0 && isSearchModeActive) || !isSearchModeActive}
6666
<Sidebar.GroupLabel>
6767
{isSearchModeActive ? 'Search results' : 'Conversations'}
@@ -103,7 +103,7 @@
103103
</Sidebar.GroupContent>
104104
</Sidebar.Group>
105105

106-
<div class="md:sticky bottom-0 bg-sidebar z-10 px-2 py-4">
106+
<div class="md:sticky bottom-0 bg-sidebar z-10 px-4 py-4 bg-sidebar/50 backdrop-blur-lg">
107107
<p class="text-muted-foreground text-xs">
108108
Conversations are stored locally in your browser.
109109
</p>

0 commit comments

Comments
 (0)