Skip to content

Commit

Permalink
feat: add some comment
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jan 10, 2024
1 parent 8f1659f commit 718fc3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/tabs/chat/messages/message_bubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ export const MessageBubble: React.FC<MessageBubbleProps> = React.memo((props) =>
</EuiFlexItem>
<EuiFlexItem className="llm-chat-bubble-wrapper">
<EuiPanel
/**
* When using minWidth the content width inside may be larger than the container itself,
* especially in data grid case that the content will change its size according to if fullScreen or not.
*/
style={isVisualization ? { width: '100%' } : {}}
hasShadow={false}
hasBorder={false}
Expand Down

0 comments on commit 718fc3f

Please sign in to comment.