mirror of
https://github.com/lavafroth/lavafroth.github.io.git
synced 2026-05-28 01:11:16 -03:00
fix: ugly visual inconsistency for code blocks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user