From 26f902662103ec8f45786d46e5029be4ffe620cf Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 24 Aug 2026 14:31:17 -0400 Subject: [PATCH] Fix width too big by adding min-width constraints --- src/components/AiSessionChatView.tsx | 10 +++++----- src/components/LogDataTable.tsx | 10 +++++++--- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/components/AiSessionChatView.tsx b/src/components/AiSessionChatView.tsx index b46cd5cf2..211f71da6 100644 --- a/src/components/AiSessionChatView.tsx +++ b/src/components/AiSessionChatView.tsx @@ -79,7 +79,7 @@ function MessageBubble({ message }: { message: NormalizedAiMessage }) { )}
+
{label} {pretty && unparsedLabel && ( @@ -117,7 +117,7 @@ function RawFallbackBlock({ )}
-
+            
                 {pretty ?? noDataLabel}
             
@@ -172,7 +172,7 @@ export function AiSessionChatView({
{rawMode ? ( -
+
) : ( -
+
{hasRequestMessages ? ( requestMessages!.map((message, i) => ( diff --git a/src/components/LogDataTable.tsx b/src/components/LogDataTable.tsx index 6c17eb76c..b6e34ef80 100644 --- a/src/components/LogDataTable.tsx +++ b/src/components/LogDataTable.tsx @@ -524,9 +524,13 @@ export function LogDataTable({ } className="p-4 bg-muted/50" > - {renderExpandedRow( - row.original - )} + {/* w-0 min-w-full keeps this cell's content from */} + {/* blowing out the table's auto column widths */} +
+ {renderExpandedRow( + row.original + )} +
)