Make code blocks scrollable
This commit is contained in:
parent
414facc656
commit
648935e47f
1 changed files with 1 additions and 1 deletions
|
@ -39,6 +39,7 @@ math[display="block"] {
|
|||
pre > code {
|
||||
display: block;
|
||||
padding: 1rem;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
/* }}} */
|
||||
/* {{{ General article styling */
|
||||
|
@ -278,7 +279,6 @@ figure > figcaption > p {
|
|||
@media (prefers-color-scheme: light) {
|
||||
code {
|
||||
background: #eff1f5;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.aside code {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue