mirror of
https://github.com/lavafroth/lavafroth.github.io.git
synced 2026-06-01 04:41:15 -03:00
fix: do not round code blocks on small screens
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user