fixed width behavior and made session list cleaner

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
Francisco Javier Arceo 2025-08-12 23:48:56 -04:00
parent 3bfc4488b0
commit 709dd76f74
6 changed files with 878 additions and 92 deletions

View file

@ -201,11 +201,13 @@ export function Chat({
<div className="flex-1 flex flex-col">
{isEmpty && append && suggestions ? (
<div className="flex-1 flex items-center justify-center">
<PromptSuggestions
label="Try these prompts ✨"
append={append}
suggestions={suggestions}
/>
<div className="max-w-4xl mx-auto w-full">
<PromptSuggestions
label="Try these prompts ✨"
append={append}
suggestions={suggestions}
/>
</div>
</div>
) : null}
@ -267,7 +269,7 @@ export function ChatMessages({
onScroll={handleScroll}
onTouchStart={handleTouchStart}
>
<div className="max-w-full [grid-column:1/1] [grid-row:1/1]">
<div className="max-w-4xl mx-auto w-full [grid-column:1/1] [grid-row:1/1]">
{children}
</div>