Skip to content

Commit 6c51929

Browse files
add padding in expandable row
1 parent b2c8e47 commit 6c51929

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/SObjectDataTable.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,11 @@ const SObjectDataTable = ({
138138
const ExpandedComponent: React.FC<ExpanderComponentProps<DataRow>> = ({
139139
data,
140140
}) => {
141-
return <pre>{JSON.stringify(data, null, 2)}</pre>;
141+
return (
142+
<div className="m-5">
143+
<pre>{JSON.stringify(data, null, 2)}</pre>
144+
</div>
145+
);
142146
};
143147

144148
/**

0 commit comments

Comments
 (0)