Skip to content

Commit

Permalink
bugfix:fix table scroll bug (#1725)
Browse files Browse the repository at this point in the history
Co-authored-by: sishangyu <[email protected]>
  • Loading branch information
shyusi and sishangyu authored Jul 16, 2024
1 parent 45c9938 commit 91967ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/chat/chat-content/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ const extraComponents: MarkdownComponent = {
const DataItem = {
key: 'data',
label: 'Data',
children: <Table dataSource={data?.data} columns={columns} />,
children: <Table dataSource={data?.data} columns={columns} scroll={{x:true}} />,
};
const TabItems: TabsProps['items'] = data?.type === 'response_table' ? [DataItem, SqlItem] : [ChartItem, SqlItem, DataItem];

Expand Down

0 comments on commit 91967ae

Please sign in to comment.