fix: do not round code blocks on small screens

This commit is contained in:
Himadri Bhattacharjee
2026-01-05 11:34:43 +05:30
parent 8a0225d49f
commit 8fd82b652f

View File

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