Skip to content

Commit

Permalink
fix(docz-theme-default): add playground min-height just on fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Aug 16, 2018
1 parent 47fe714 commit a82903a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -55,7 +55,7 @@ const PlaygroundWrapper = styled('div')`
border-radius: 4px 4px 0 0;
border: 1px solid ${p => p.theme.docz.colors.border};
background: ${p => p.theme.docz.colors.background};
min-height: 198px;
min-height: ${whenFullscreen('198px', 'auto')};
${p => p.theme.docz.mq(p.theme.docz.styles.playground)};
`

Expand Down Expand Up @@ -278,7 +278,7 @@ export class Render extends Component<RenderComponentProps, RenderState> {
<Wrapper full={fullscreen}>
<LiveConsumer>
{(live: any) => (
<PlaygroundWrapper>
<PlaygroundWrapper full={fullscreen}>
{live.error && (
<DummyPlayground className={className} style={style}>
{this.props.component}
Expand Down

0 comments on commit a82903a

Please sign in to comment.