Browse Source

Merge pull request #1448 from tgfjt/patch-1

Chris Estreich 10 months ago
parent
commit
2d87b86caa
1 changed files with 4 additions and 0 deletions
  1. 4 0
      webview-ui/src/components/common/MarkdownBlock.tsx

+ 4 - 0
webview-ui/src/components/common/MarkdownBlock.tsx

@@ -63,6 +63,10 @@ const StyledMarkdown = styled.div`
 		white-space: pre-wrap;
 	}
 
+ 	:where(h1, h2, h3, h4, h5, h6):has(code) code {
+    		font-size: inherit;
+ 	}
+
 	pre > code {
 		.hljs-deletion {
 			background-color: var(--vscode-diffEditor-removedTextBackground);