make prompt and tool listing display consistent

This commit is contained in:
evalstate 2025-06-11 12:01:36 +01:00
commit 509ca909bb

View file

@ -98,12 +98,12 @@ const PromptsTab = ({
setPromptArgs({}); setPromptArgs({});
}} }}
renderItem={(prompt) => ( renderItem={(prompt) => (
<> <div className="flex flex-col items-start">
<span className="flex-1">{prompt.name}</span> <span className="flex-1">{prompt.name}</span>
<span className="text-sm text-gray-500"> <span className="text-sm text-gray-500 text-left">
{prompt.description} {prompt.description}
</span> </span>
</> </div>
)} )}
title="Prompts" title="Prompts"
buttonText={nextCursor ? "List More Prompts" : "List Prompts"} buttonText={nextCursor ? "List More Prompts" : "List Prompts"}