From cbc9eab00a412300505bce4e29163b3822735024 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 10 Sep 2018 18:41:36 +0300 Subject: [PATCH] chore: minor fix after dense->compact rename --- src/components/Markdown/styled.elements.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Markdown/styled.elements.tsx b/src/components/Markdown/styled.elements.tsx index bed50faf..efae6aa8 100644 --- a/src/components/Markdown/styled.elements.tsx +++ b/src/components/Markdown/styled.elements.tsx @@ -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), )` @@ -31,8 +31,8 @@ export const StyledMarkdownBlock = withProps<{ dense?: boolean; inline?: boolean } } - ${({ dense }) => - dense && + ${({ compact }) => + compact && ` p:first-child { margin-top: 0;