Skip to content

Commit dd70361

Browse files
committed
More markdown improvementS
1 parent 3dc561b commit dd70361

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

webview-ui/src/components/common/MarkdownBlock.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const StyledMarkdown = styled.div`
133133
div:has(> pre) {
134134
position: relative;
135135
contain: layout style;
136+
padding: 0.5em 1em;
136137
}
137138
138139
a {
@@ -145,6 +146,17 @@ const StyledMarkdown = styled.div`
145146
}
146147
}
147148
149+
h2 {
150+
font-size: 1.35em;
151+
font-weight: 500;
152+
margin: 1.35em 0 0.5em;
153+
}
154+
155+
h3 {
156+
font-size: 1.2em;
157+
font-weight: 500;
158+
}
159+
148160
/* Table styles for remark-gfm */
149161
table {
150162
border-collapse: collapse;

0 commit comments

Comments
 (0)