Skip to content

Commit 81ec87b

Browse files
author
Kristján Oddsson
authored
Merge pull request #140 from yamanoku/fix-pre-overflow
Fix: code of `<pre>` element is displayed protruding.
2 parents 11868e5 + 390dd7d commit 81ec87b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ body {
4545
/* Code Blocks & Syntax */
4646
.markdown-body .highlight pre, .markdown-body pre {
4747
background-color: var(--color-bg-canvas-tertiary);
48-
overflow: inherit
48+
overflow: auto;
4949
}
5050

5151
/* Inline Code */

0 commit comments

Comments
 (0)