From 553412e863d2164b48f2a351426abeebd3c2617e Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Fri, 7 Mar 2025 15:32:03 +0100 Subject: [PATCH] Make the content width a bit smaller --- agent/uis/stockbroker/portfolio-view/index.tsx | 2 +- agent/uis/stockbroker/stock-price/index.tsx | 2 +- agent/uis/trip-planner/accommodations-list/index.tsx | 2 +- src/components/thread/index.tsx | 6 +++--- src/providers/Stream.tsx | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/agent/uis/stockbroker/portfolio-view/index.tsx b/agent/uis/stockbroker/portfolio-view/index.tsx index 42bb140..2eff0be 100644 --- a/agent/uis/stockbroker/portfolio-view/index.tsx +++ b/agent/uis/stockbroker/portfolio-view/index.tsx @@ -160,7 +160,7 @@ export default function PortfolioView() { const chartData = selectedHolding ? generateChartData(selectedHolding) : []; return ( -
+

diff --git a/agent/uis/stockbroker/stock-price/index.tsx b/agent/uis/stockbroker/stock-price/index.tsx index 1c1ea52..8bcceca 100644 --- a/agent/uis/stockbroker/stock-price/index.tsx +++ b/agent/uis/stockbroker/stock-price/index.tsx @@ -149,7 +149,7 @@ export default function StockPrice(props: { }; return ( -
+

{ticker}

${currentPrice}

diff --git a/agent/uis/trip-planner/accommodations-list/index.tsx b/agent/uis/trip-planner/accommodations-list/index.tsx index 87e28f2..d360198 100644 --- a/agent/uis/trip-planner/accommodations-list/index.tsx +++ b/agent/uis/trip-planner/accommodations-list/index.tsx @@ -320,7 +320,7 @@ export default function AccommodationsList({ align: "start", loop: true, }} - className="w-full sm:max-w-sm md:max-w-2xl lg:max-w-3xl" + className="w-full sm:max-w-sm md:max-w-3xl lg:max-w-3xl" > {accommodations.map((accommodation) => ( diff --git a/src/components/thread/index.tsx b/src/components/thread/index.tsx index 2332f30..d3d3acf 100644 --- a/src/components/thread/index.tsx +++ b/src/components/thread/index.tsx @@ -276,7 +276,7 @@ export function Thread() { !chatStarted && "flex flex-col items-stretch mt-[25vh]", chatStarted && "grid grid-rows-[1fr_auto]", )} - contentClassName="pt-8 pb-16 px-4 max-w-4xl mx-auto flex flex-col gap-4 w-full" + contentClassName="pt-8 pb-16 px-4 max-w-3xl mx-auto flex flex-col gap-4 w-full" content={ <> {messages @@ -315,10 +315,10 @@ export function Thread() { -
+