Skip to content

Commit 5099d32

Browse files
authoredOct 29, 2022
Fix overflow pre tag index.md
In the docs, at h2#testing-on-localhost second pre child, the code snippet literally breaks and goes outside pre, div and everything. The same happens for h2#promise-and-generator-support third pre child, the code snippet breaks and goes outside the pre and everything.
1 parent e8d5326 commit 5099d32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎docs/style.css

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ pre {
7373
-webkit-box-shadow: inset 0 0 5px #eee;
7474
-moz-box-shadow: inset 0 0 5px #eee;
7575
box-shadow: inset 0 0 5px #eee;
76+
overflow: scroll;
7677
}
7778

7879
code .comment { color: #ddd }

0 commit comments

Comments
 (0)
Please sign in to comment.