Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/__stories__/JsonSchemaViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ storiesOf('JsonSchemaViewer', module)
schema={schema as JSONSchema4}
defaultExpandedDepth={number('defaultExpandedDepth', 2)}
onGoToRef={action('onGoToRef')}
className="sl-bg-canvas"
/>
</div>
</InvertTheme>
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/ChildStack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const ChildStack = ({
className,
RowComponent = SchemaRow,
}: ChildStackProps) => (
<Box bg="canvas" className={className} style={childStackStyle}>
<Box className={className} style={childStackStyle}>
{childNodes.map((childNode: SchemaNode, index) => (
<React.Fragment key={childNode.id}>
{index > 0 && <Box borderT borderColor="light" alignSelf="stretch" />}
Expand Down