fix(docz-theme-default): fill adjustments

This commit is contained in:
Pedro Nauck
2018-10-27 11:10:55 -03:00
parent 2a9db98814
commit 119e4a7da1
3 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ interface WrapperProps {
const sidebarBg = get('colors.sidebarBg')
const sidebarText = get('colors.sidebarText')
const sidebarBorder = get('colors.sidebarText')
const sidebarBorder = get('colors.sidebarBorder')
const position = (p: WrapperProps) =>
p.theme.docz.mq({

View File

@@ -11,7 +11,7 @@ const Wrapper = styled('div')`
justify-content: center;
flex-direction: column;
width: 100%;
height: 100%;
height: 100vh;
color: ${get('colors.text')};
background: ${get('colors.background')};
`

View File

@@ -252,7 +252,7 @@ export class Render extends Component<RenderComponentProps, RenderState> {
onClick={this.handleShowEditorToggle}
title={showEditor ? 'Close editor' : 'Show editor'}
>
<Code />
<Code width={15} />
</Action>
</Actions>
)
@@ -384,7 +384,7 @@ export class Render extends Component<RenderComponentProps, RenderState> {
}
private handleShowEditorToggle = () => {
this.setState(prevState => ({ showEditor: !prevState.showEditor }))
this.setState(state => ({ showEditor: !state.showEditor }))
}
private handleShow = (showing: 'jsx' | 'html') => () => {