From: Xuan-Son Nguyen Date: Thu, 8 May 2025 16:51:45 +0000 (+0200) Subject: server : (webui) fix a very small misalignment (#13387) X-Git-Tag: upstream/0.0.5318~2 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=ee01d71e585f4a17ae83ec55d77acfdcf0bfa798;p=pkg%2Fggml%2Fsources%2Fllama.cpp server : (webui) fix a very small misalignment (#13387) * server : (webui) fix a very small misalignment * restore font-bold --- diff --git a/tools/server/public/index.html.gz b/tools/server/public/index.html.gz index 3153b615..260fdcfe 100644 Binary files a/tools/server/public/index.html.gz and b/tools/server/public/index.html.gz differ diff --git a/tools/server/webui/src/components/Sidebar.tsx b/tools/server/webui/src/components/Sidebar.tsx index 1a6c8a32..8e79e00b 100644 --- a/tools/server/webui/src/components/Sidebar.tsx +++ b/tools/server/webui/src/components/Sidebar.tsx @@ -7,6 +7,7 @@ import { ArrowDownTrayIcon, EllipsisVerticalIcon, PencilIcon, + PencilSquareIcon, TrashIcon, XMarkIcon, } from '@heroicons/react/24/outline'; @@ -76,15 +77,19 @@ export default function Sidebar() { })} onClick={() => navigate('/')} > - + New conversation + + New conversation {/* list of conversations */} - {groupedConv.map((group) => ( -
+ {groupedConv.map((group, i) => ( +
{/* group name (by date) */} {group.title ? ( - {group.title} + // we use btn class here to make sure that the padding/margin are aligned with the other items + + {group.title} + ) : (
)}