From 9430cd97688c96c23c3d4f6ef71d92a8572e4a07 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Wed, 24 Dec 2025 02:24:01 +0530 Subject: [PATCH] refactor: update sidebar components for improved styling and layout - Adjusted the AllChatsSidebar and AllNotesSidebar components to enhance visual consistency by removing unnecessary borders and refining padding. - Updated search input styles to eliminate borders and improve focus visibility. - Made minor layout adjustments to ensure better alignment and spacing within the sidebar components. --- surfsense_web/components/sidebar/all-chats-sidebar.tsx | 8 ++++---- surfsense_web/components/sidebar/all-notes-sidebar.tsx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/surfsense_web/components/sidebar/all-chats-sidebar.tsx b/surfsense_web/components/sidebar/all-chats-sidebar.tsx index cab446b9a..1e204ebdf 100644 --- a/surfsense_web/components/sidebar/all-chats-sidebar.tsx +++ b/surfsense_web/components/sidebar/all-chats-sidebar.tsx @@ -160,8 +160,8 @@ export function AllChatsSidebar({ open, onOpenChange, searchSpaceId }: AllChatsS return ( - - + + {t("all_chats") || "All Chats"} {t("all_chats_description") || "Browse and manage all your chats"} @@ -175,7 +175,7 @@ export function AllChatsSidebar({ open, onOpenChange, searchSpaceId }: AllChatsS placeholder={t("search_chats") || "Search chats..."} value={searchQuery} onChange={(e) => setSearchQuery(e.target.value)} - className="pl-9 pr-8 h-9" + className="pl-9 pr-8 h-9 border-0 focus-visible:ring-0 focus-visible:border-0 shadow-none" /> {searchQuery && (