An open source design system that's fully customizable and agent ready
TypeScript
fix(ChatToolCalls): prevent label shrinking when submessage overflows (#2503)
Cindy Zhang018cd9539dee
diff --git a/packages/core/src/Chat/XDSChatToolCalls.tsx b/packages/core/src/Chat/XDSChatToolCalls.tsxindex f21a425596..8a88e8a0dc 100644--- a/packages/core/src/Chat/XDSChatToolCalls.tsx+++ b/packages/core/src/Chat/XDSChatToolCalls.tsx@@ -208,7 +208,8 @@ const styles = stylex.create({whiteSpace: 'nowrap',overflow: 'hidden',textOverflow: 'ellipsis',- minWidth: 0,+ flexShrink: 1,+ minWidth: '4ch',},callLabel: {fontSize: typeScaleVars['--text-supporting-size'],@@ -218,6 +219,7 @@ const styles = stylex.create({whiteSpace: 'nowrap',overflow: 'hidden',textOverflow: 'ellipsis',+ flexShrink: 10,minWidth: 0,},callDuration: {