From f2f6909835ddfe8d9d0611a93cbf48280846ea41 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Tue, 27 Nov 2018 11:47:31 +0200 Subject: [PATCH] fix: fix spacing with nested markdown lists fixes #718 --- src/components/Markdown/styled.elements.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Markdown/styled.elements.tsx b/src/components/Markdown/styled.elements.tsx index 8456536d..486528bc 100644 --- a/src/components/Markdown/styled.elements.tsx +++ b/src/components/Markdown/styled.elements.tsx @@ -117,9 +117,11 @@ export const StyledMarkdownBlock = styled(PrismDiv as StyledComponent< padding-left: 2em; margin: 0; margin-bottom: 1em; - // > li { - // margin: 0.5em 0; - // } + + ul, ol { + margin-bottom: 0; + margin-top: 0; + } } table {