mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 12:39:01 +00:00
Minor: fixed sample data overlapping issue (#18581)
This commit is contained in:
parent
eeb27c3cbf
commit
b59983d652
@ -33,12 +33,13 @@ export const RowData = ({ data }: { data: SampleDataType }) => {
|
||||
);
|
||||
} else if (isObject(data)) {
|
||||
return (
|
||||
<Typography.Text
|
||||
className="w-52 truncate cursor-pointer"
|
||||
<Typography.Paragraph
|
||||
className="w-52 cursor-pointer"
|
||||
data-testid="json-object"
|
||||
ellipsis={{ rows: 4 }}
|
||||
onClick={onOpen}>
|
||||
{JSON.stringify(data)}
|
||||
</Typography.Text>
|
||||
</Typography.Paragraph>
|
||||
);
|
||||
} else {
|
||||
return (
|
||||
|
@ -107,7 +107,7 @@ const SampleDataTable = ({
|
||||
dataIndex: column,
|
||||
key: column,
|
||||
accessor: column,
|
||||
width: 210,
|
||||
width: 250,
|
||||
render: (data: SampleDataType) => <RowData data={data} />,
|
||||
};
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user