Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
chore(docz-theme-default): add border radius for render and table
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed May 25, 2018
1 parent 7147ac1 commit 0dcaefb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/docz-theme-default/src/components/ui/Render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,19 @@ const Playground = styled('div')`
background: transparent;
border: 1px solid ${p => p.theme.colors.border};
border-bottom: 0;
border-radius: 5px 5px 0 0;
${p => p.theme.styles.playground};
`

const Code = styled('div')`
pre {
border-radius: 0 0 5px 5px;
}
`

export const Render: RenderComponent = ({ component, code }) => (
<Fragment>
<Playground>{component}</Playground>
{code}
<Code>{code}</Code>
</Fragment>
)
1 change: 1 addition & 0 deletions packages/docz-theme-default/src/components/ui/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const Table = styled('table')`
border-spacing: 0;
border-collapse: collapse;
border-style: hidden;
border-radius: 5px;
font-size: 14px;
color: ${p => p.theme.colors.grayDark};
Expand Down

0 comments on commit 0dcaefb

Please sign in to comment.