From 2ca34217e68f3b439899c75881dfb050f49c9eb2 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 15 Sep 2025 13:34:09 -0500 Subject: [PATCH] refac: styling --- src/lib/components/chat/Navbar.svelte | 40 +++++++++++------------ src/lib/components/icons/ChatCheck.svelte | 18 ++++++++++ 2 files changed, 38 insertions(+), 20 deletions(-) create mode 100644 src/lib/components/icons/ChatCheck.svelte diff --git a/src/lib/components/chat/Navbar.svelte b/src/lib/components/chat/Navbar.svelte index d87f7f10b5..b26aef7ddb 100644 --- a/src/lib/components/chat/Navbar.svelte +++ b/src/lib/components/chat/Navbar.svelte @@ -36,11 +36,11 @@ import EllipsisHorizontal from '../icons/EllipsisHorizontal.svelte'; import ChatPlus from '../icons/ChatPlus.svelte'; + import ChatCheck from '../icons/ChatCheck.svelte'; const i18n = getContext('i18n'); export let initNewChat: Function; - export let title: string = $WEBUI_NAME; export let shareEnabled: boolean = false; export let chat; @@ -152,13 +152,31 @@ }} >
- +
{/if} {/if} + {#if $mobile && !$temporaryChatEnabled && chat && chat.id} + + + + {/if} + {#if shareEnabled && chat && (chat.id || $temporaryChatEnabled)} {/if} - {#if $mobile} - - - - {/if} - {#if $user !== undefined && $user !== null} + export let className = 'w-4 h-4'; + export let strokeWidth = '1.5'; + + +