|
@@ -60,7 +60,7 @@ function ObjectInspector({data, onCopy, showCopyButton, theme, ...props}: Props)
|
|
|
size="xs"
|
|
|
text={JSON.stringify(data, null, '\t')}
|
|
|
/>
|
|
|
- {inspector}
|
|
|
+ <InspectorWrapper>{inspector}</InspectorWrapper>
|
|
|
</Wrapper>
|
|
|
);
|
|
|
}
|
|
@@ -68,6 +68,10 @@ function ObjectInspector({data, onCopy, showCopyButton, theme, ...props}: Props)
|
|
|
return inspector;
|
|
|
}
|
|
|
|
|
|
+const InspectorWrapper = styled('div')`
|
|
|
+ margin-right: ${space(4)};
|
|
|
+`;
|
|
|
+
|
|
|
const Wrapper = styled('div')`
|
|
|
position: relative;
|
|
|
|