fix: ugly visual inconsistency for code blocks

This commit is contained in:
Himadri Bhattacharjee
2026-01-04 09:17:36 +05:30
parent 9614c4fc98
commit b7c193ff60

View File

@@ -596,7 +596,12 @@ nav[data-post] {
.highlight,
pre {
margin: 0 0 3rem;
@media screen and (width <= 600px) {
margin: 0 calc(var(--gap) * -1) 4rem;
}
overflow-x: auto;
background: var(--code-bg) !important;
border-radius: 0.5rem;