Skip to content

Commit

Permalink
fix(docz-theme-default): fix padding in Playground elements
Browse files Browse the repository at this point in the history
  • Loading branch information
kachkaev authored and pedronauck committed Jan 21, 2019
1 parent a184913 commit 4af7376
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const EditorStyled = styled(BaseCodeMirror)`
.CodeMirror-lines {
padding: 10px 0;
box-sizing: content-box;
}
.CodeMirror-line {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const Handle = styled('div')<HandleProps>`
border: 1px solid ${p => lighten(0.03, borderColor(p))};
border-radius: ${whenHorizontal('0 4px 4px 0', '0 0 4px 4px')};
background: ${p => darken(0.01, preBg(p))};
box-sizing: content-box;
${whenHorizontal(
`
Expand Down
1 change: 1 addition & 0 deletions core/docz-theme-default/src/components/ui/Render/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const StyledError = styled(LiveError)`
`

const Pre = styled(PreBase as any)<any>`
box-sizing: content-box;
width: calc(100% - 2px);
border-radius: 0 !important;
margin: 0;
Expand Down

0 comments on commit 4af7376

Please sign in to comment.