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;