diff --git a/webview-ui/src/components/common/MarkdownBlock.tsx b/webview-ui/src/components/common/MarkdownBlock.tsx index 06f8b889..00def9da 100644 --- a/webview-ui/src/components/common/MarkdownBlock.tsx +++ b/webview-ui/src/components/common/MarkdownBlock.tsx @@ -295,6 +295,15 @@ const StyledMarkdown = styled.div<{ compact?: boolean }>` text-decoration: underline; } } + + hr, ul { + margin: 13px 0; + } + + li > ul { + margin: 4px 0; /* or 0 if you want them very tight */ + } + ` const PreWithCopyButton = ({ children, ...preProps }: React.HTMLAttributes) => {