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 {
margin: 1em 0;
hyphens: manual;
overflow-wrap: normal;
overflow: visible;
white-space: pre-wrap;
overflow-x: scroll;
overflow-y: scroll;
color: DarkGreen;
}
@@ -721,6 +720,7 @@ transition: all .3s ease;
padding-top: 0;
padding-bottom: 0;
color: DarkGreen;
overflow-x: scroll;
}
/* content text */