Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit ca306c1

Browse files
committed
tweaks
1 parent 10a5e80 commit ca306c1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/leapfrogai_ui/src/lib/components/LFSidebar.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@
5757
data-testid="sidebar"
5858
class="sidebar-height flex w-[var(--sidebar-width)] border-r border-gray-700 dark:bg-gray-800 "
5959
>
60-
<SidebarWrapper class="flex w-full flex-col px-0">
60+
<SidebarWrapper class="flex w-full flex-col p-0">
6161
<SidebarGroup>
62-
<div class="flex flex-col gap-2 px-3">
62+
<div class="flex flex-col gap-2 px-3 py-4">
6363
<Button on:click={() => threadsStore.changeThread('')} class="justify-between">
6464
New chat <PlusOutline />
6565
</Button>
6666
<Input type="txt" placeholder="Search..." bind:value={searchText} maxlength={25}></Input>
6767
</div>
6868
</SidebarGroup>
69-
<Hr classHr="my-2" />
69+
<Hr classHr="my-0" />
7070
<SidebarGroup class="no-scrollbar flex-grow overflow-y-scroll px-3" data-testid="threads">
7171
{#each organizedThreads as category}
7272
{#if category.threads.length > 0}
@@ -88,8 +88,8 @@
8888
{/if}
8989
{/each}
9090
</SidebarGroup>
91-
<Hr classHr="my-2" />
92-
<SidebarGroup class="px-3 py-2">
91+
<Hr classHr="my-0" />
92+
<SidebarGroup class="px-3 py-4">
9393
<ImportExport />
9494
</SidebarGroup>
9595
</SidebarWrapper>

src/leapfrogai_ui/src/lib/components/LFSidebarDropdownItem.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ It adds a "three-dot" menu button with Dropdown, and delete confirmation Modal
131131
<button
132132
data-testid={`thread-menu-btn-${label}`}
133133
id={`btn-${threadId}`}
134-
class={twMerge(popperOpen && 'focus:rounded focus:bg-gray-400', !hovered && 'hidden')}
134+
class={!hovered && 'opacity-0'}
135135
on:click={(e) => {
136136
e.stopPropagation();
137137
}}
138138
>
139-
<DotsVerticalOutline color="white" />
139+
<DotsVerticalOutline class="dark:text-gray-400 dark:hover:text-white" />
140140
</button>
141141
</button>
142142

src/leapfrogai_ui/src/lib/components/SelectAssistantDropdown.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<Button
3131
color="dark"
32-
class="max-h-[42px] w-48 flex-shrink-0 justify-between dark:bg-gray-700 dark:focus-within:ring-1 dark:focus-within:ring-blue-500"
32+
class="max-h-[42px] w-48 flex-shrink-0 justify-between border border-gray-600 dark:bg-gray-700 dark:focus-within:ring-1 dark:focus-within:ring-blue-500"
3333
><span class="truncate">{selectedAssistantName}</span><ChevronDownOutline
3434
class="ms-2 h-6 w-6 text-white dark:text-white"
3535
data-testid="assistants-select-btn"

src/leapfrogai_ui/src/routes/chat/(dashboard)/[[thread_id]]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@
365365

366366
<div
367367
class={twMerge(
368-
'flex flex-grow flex-col gap-1 rounded-lg bg-gray-50 px-4 py-0 dark:bg-gray-700',
368+
'flex flex-grow flex-col gap-1 rounded-lg border border-gray-600 bg-gray-50 px-4 py-0 dark:bg-gray-700',
369369
attachedFileMetadata.length > 0 && 'py-4',
370370
'min-w-0'
371371
)}

0 commit comments

Comments
 (0)