Merge pull request #2576 from xexyl/overflow-code-scroll

Add overflow scroll bar to code blocks
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-07-17 03:17:28 -07:00
commit b3311322af
1 file changed
+3 -3
+3 -3
View File
@@ -410,9 +410,8 @@ body {
pre, code { pre, code {
margin: 1em 0; margin: 1em 0;
hyphens: manual; hyphens: manual;
overflow-wrap: normal; overflow-x: scroll;
overflow: visible; overflow-y: scroll;
white-space: pre-wrap;
color: DarkGreen; color: DarkGreen;
} }
@@ -721,6 +720,7 @@ transition: all .3s ease;
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
color: DarkGreen; color: DarkGreen;
overflow-x: scroll;
} }
/* content text */ /* content text */