style(md-content): adjust code element padding and border-radius

This commit is contained in:
Aditya Telange
2026-04-11 21:11:09 +05:30
parent 5688e87f66
commit e26cb4ae9a
+3 -4
View File
@@ -143,13 +143,12 @@
margin-bottom: 0; margin-bottom: 0;
} }
.md-content code { .post-content code {
margin: auto 4px; padding: 0.2rem 0.3rem;
padding: 4px 6px;
font-size: 0.78em; font-size: 0.78em;
line-height: 1.5; line-height: 1.5;
background: var(--code-bg); background: var(--code-bg);
border-radius: 2px; border-radius: 0.2rem;
} }
.md-content pre code { .md-content pre code {