Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions core/gatsby-theme-docz/src/components/Playground/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const Playground = ({ code, scope, language, useScoping = false }) => {
<div sx={styles.previewWrapper}>
<Wrapper height={previewHeight}>
{showLivePreview && (
<LivePreview style={styles.preview} data-testid="live-preview" />
<LivePreview sx={styles.preview} data-testid="live-preview" />
)}
<ReactResizeDetector
handleHeight
Expand All @@ -106,7 +106,7 @@ export const Playground = ({ code, scope, language, useScoping = false }) => {
</div>
{showingCode && (
<Wrapper height={editorHeight}>
<div style={styles.editor(theme)}>
<div sx={styles.editor(theme)}>
<LiveEditor data-testid="live-editor" />
</div>
<ReactResizeDetector
Expand Down