chore: minor fix after dense->compact rename

This commit is contained in:
Roman Hotsiy 2018-09-10 18:41:36 +03:00
parent 893c83ed07
commit cbc9eab00a
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -17,7 +17,7 @@ export const linksCss = css`
} }
`; `;
export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean }>( export const StyledMarkdownBlock = withProps<{ compact?: boolean; inline?: boolean }>(
styled(PrismDiv), styled(PrismDiv),
)` )`
@ -31,8 +31,8 @@ export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean
} }
} }
${({ dense }) => ${({ compact }) =>
dense && compact &&
` `
p:first-child { p:first-child {
margin-top: 0; margin-top: 0;