Skip to content

Commit

Permalink
fix(docz-theme-default): fill adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Oct 30, 2018
1 parent 2a9db98 commit 119e4a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion packages/docz-theme-default/src/components/ui/NotFound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')};
`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)
Expand Down Expand Up @@ -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') => () => {
Expand Down

0 comments on commit 119e4a7

Please sign in to comment.